[
https://issues.apache.org/jira/browse/CAMEL-10046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kumar Abhinav updated CAMEL-10046:
----------------------------------
Description: Per documentation provided in kafka
(http://kafka.apache.org/documentation.html#producerconfigs) acks property can
have [all, -1, 0, 1] as value. Camel-kafka is mapping acks to
requestRequiredAcks which is set as Integer. The property must be a string or
an enum and definitely not an integer as 'all' leaves the number of
acknowledgements to the configuration on the broker, rather than providing
upfront in the client. (was: Per documentation provided in kafka
(http://kafka.apache.org/documentation.html#producerconfigs) acks property can
have [all, -1, 0, 1] as value. Camel-kafka is mapping acks to
requestRequiredAcks which is set as Integer. The property must be a string or
an enum and definitely not an integer as 'all' leaves the number of
acknowledgements to the configuration on the broker, rather than providing
upfront in the configuration.)
> 'requestRequiredAcks' data type is wrongly set as integer
> ---------------------------------------------------------
>
> Key: CAMEL-10046
> URL: https://issues.apache.org/jira/browse/CAMEL-10046
> Project: Camel
> Issue Type: Bug
> Components: camel-kafka
> Affects Versions: 2.17.1
> Reporter: Kumar Abhinav
>
> Per documentation provided in kafka
> (http://kafka.apache.org/documentation.html#producerconfigs) acks property
> can have [all, -1, 0, 1] as value. Camel-kafka is mapping acks to
> requestRequiredAcks which is set as Integer. The property must be a string or
> an enum and definitely not an integer as 'all' leaves the number of
> acknowledgements to the configuration on the broker, rather than providing
> upfront in the client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)