You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/01/02 09:22:00 UTC

[jira] [Assigned] (CAMEL-18841) camel-kafka: producer idempotence is not enabled by default

     [ https://issues.apache.org/jira/browse/CAMEL-18841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-18841:
-----------------------------------

    Assignee: Claus Ibsen

> 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)