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

Espen Andreassen updated CAMEL-18841:
-------------------------------------
    Description: 
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]|

 

  was:
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|0|
|enableIdempotence|[true\|https://kafka.apache.org/32/documentation.html#producerconfigs_enable.idempotence]|false|
|acks|all|1|

 


> 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
>            Priority: Major
>
> 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)

Reply via email to