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 a12e9e4  CAMEL-17802: added migration documentation (#7295)
a12e9e4 is described below

commit a12e9e4017f5a78ca42eedaad7c89789ad109d83
Author: Otavio Rodolfo Piske <orpi...@users.noreply.github.com>
AuthorDate: Wed Mar 30 12:41:04 2022 +0200

    CAMEL-17802: added migration documentation (#7295)
---
 .../modules/ROOT/pages/camel-3x-upgrade-guide-3_17.adoc    | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_17.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_17.adoc
index 21fd603..da36ee0 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_17.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_17.adoc
@@ -9,3 +9,17 @@ from both 3.0 to 3.1 and 3.1 to 3.2.
 === camel-main
 
 Added method `findRouteResourcesFromDirectory` to 
`org.apache.camel.main.RoutesCollector`.
+
+=== camel-kafka
+
+The option `autoCommitOnStop` was removed from the Camel Kafka component. When 
using `autoCommitEnable` (which is enabled by default) the Kafka consumer will 
automatically commit on close.
+
+When the `autoCommitEnable` is turned off, the component issues a call to the 
respective commit manager during shutdown.
+
+Asynchronous, Synchronous or NO-OP commit policies from the former 
`autoCommitOnStop` are now determined by automatically by the value of the 
`kafkaManualCommitFactory` option:
+
+* NO-OP is the default behavior if no `kafkaManualCommitFactory` is provided
+* Async can be set using 
`kafkaManualCommitFactory=#class:org.apache.camel.component.kafka.consumer.DefaultKafkaManualAsyncCommitFactory`
+* Sync can be set using 
`kafkaManualCommitFactory=#class:org.apache.camel.component.kafka.consumer.DefaultKafkaManualCommitFactory`
+
+

Reply via email to