[
https://issues.apache.org/jira/browse/CAMEL-18841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17653544#comment-17653544
]
Claus Ibsen commented on CAMEL-18841:
-------------------------------------
https://kafka.apache.org/32/documentation.html#upgrade_320_notable
Idempotence for the producer is enabled by default if no conflicting
configurations are set. In 3.0.0 and 3.1.0, a bug prevented this default from
being applied, which meant that idempotence remained disabled unless the user
had explicitly set enable.idempotence to true (See KAFKA-13598for more
details). This issue was fixed and the default is properly applied in 3.0.1,
3.1.1, and 3.2.0.
> camel-kafka: producer idempotence is not enabled by default
> -----------------------------------------------------------
>
> Key: CAMEL-18841
> URL: https://issues.apache.org/jira/browse/CAMEL-18841
> Project: Camel
> Issue Type: Bug
> Components: camel-kafka
> Affects Versions: 3.18.4
> Reporter: Espen Andreassen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.20.1, 3.21.0
>
>
> Kafka enables idempotence on the producer by default but camel-kafka does not
> (see the first bullet point
> [here|https://kafka.apache.org/32/documentation.html#upgrade_320_notable]).
> As far as I can tell, aligning the following props would fix this:
> ||camel-kafka prop name||Kafka value||camel-kafka value||
> |*retries*|[MAX_INT|https://kafka.apache.org/32/documentation.html#producerconfigs_retries]|[0|https://camel.apache.org/components/3.18.x/kafka-component.html#_component_option_retries]|
> |*enableIdempotence*
> |[true|https://kafka.apache.org/32/documentation.html#producerconfigs_enable.idempotence]|[false|https://camel.apache.org/components/3.18.x/kafka-component.html#_component_option_enableIdempotence]|
> |*requestRequiredAcks*
> |[all|https://kafka.apache.org/32/documentation.html#producerconfigs_acks]|[1|https://camel.apache.org/components/3.18.x/kafka-component.html#_endpoint_query_option_requestRequiredAcks]|
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)