This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new eafdb804f01 Fix docs for website build eafdb804f01 is described below commit eafdb804f01fab1109a3079df3ff9b235181b03c Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Apr 17 19:40:51 2024 +0200 Fix docs for website build --- components/camel-kafka/src/main/docs/kafka-component.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-kafka/src/main/docs/kafka-component.adoc b/components/camel-kafka/src/main/docs/kafka-component.adoc index f48a4f5e9bd..ae166242489 100644 --- a/components/camel-kafka/src/main/docs/kafka-component.adoc +++ b/components/camel-kafka/src/main/docs/kafka-component.adoc @@ -506,7 +506,7 @@ The size of the batch is controlled by the option `maxPollRecords`. To avoid blocking for too long, waiting for the whole set of records to fill the batch, it is possible to use the `pollTimeoutMs` option to set a timeout for the polling. In this case, the batch may contain less messages than set in the `maxPollRecords`. -==== Automatic Commits +=== Automatic Commits By default, Camel uses automatic commits when using batch processing. In this case, Camel automatically commits the records after they have been successfully processed by the application. @@ -535,7 +535,7 @@ public void configure() { } ---- -===== Handling Errors with Automatic Commits +==== Handling Errors with Automatic Commits When using automatic commits, Camel will not commit records if there is a failure in processing. Because of this, there is a risk that records could be reprocessed multiple times.