Skip to content

Commit

Permalink
Update en/docs/reference/connectors/kafka-connector/kafka-inbound-end…
Browse files Browse the repository at this point in the history
…point-config.md

Co-authored-by: Dinithi Navodya Dias <[email protected]>
  • Loading branch information
chanikag and DinithiDiaz authored Nov 22, 2024
1 parent ba78c0e commit 72c011e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -395,4 +395,4 @@ The following parameters are required when configuring Kafka Inbound Endpoint.
</table>

!!! Note
The `<property name="SET_ROLLBACK_ONLY" value="true"/>` should set in the fault sequence to poll the same record if in a failure case. The internal logic does not commit if the above property set and the offset set to the current record. The `failure.retry.count` used to control the same record polling in a failure scenario. The offset set to next discarding the current record after exceeding the retry count. The default value is `-1` means infinitely polling the same record in failure cases. The `<property name="SET_ROLLBACK_ONLY" value="true"/>` and `failure.retry.count` parameter only effective when `enable.auto.commit` set to `false`.
The `<property name="SET_ROLLBACK_ONLY" value="true"/>` property should be set in the fault sequence to poll the same record if in a failure case. The internal logic does not commit if the above property is set and the offset is set to the current record. The `failure.retry.count` parameter controls the polling of the same record during failure scenarios. If the retry count is exceeded, the offset is set to the next record, discarding the current one. The default value is `-1`, meaning the same record will be polled infinitely in failure cases. Both the `<property name="SET_ROLLBACK_ONLY" value="true"/>` and `failure.retry.count` parameters are effective only when `enable.auto.commit` is set to `false`.

0 comments on commit 72c011e

Please sign in to comment.