Claus Ibsen created CAMEL-27549:
-----------------------------------

             Summary: camel-kafka - Align option descriptions with the Kafka 
client documentation
                 Key: CAMEL-27549
                 URL: https://issues.apache.org/jira/browse/CAMEL-27549
             Project: Camel
          Issue Type: Improvement
          Components: camel-kafka
            Reporter: Claus Ibsen
             Fix For: 4.24.0


Many camel-kafka options are passed straight through to a Kafka client config 
(for example lingerMs is linger.ms), and their descriptions were copied from 
the Kafka documentation years ago. Comparing them with the documentation in 
kafka-clients 4.4.0 shows some that are now wrong or misleading:

* autoCommitEnable / autoCommitIntervalMs: say the offsets are committed to 
ZooKeeper
* bufferMemorySize: refers to block.on.buffer.full, which no longer exists 
(max.block.ms)
* requestTimeoutMs (producer): describes the old Scala producer's 
request.required.acks timeout, not the client request timeout
* lingerMs: says the default is 0, it is 5 since Kafka 4.0 (and the Camel 
default is already 5)
* retries: says reordering can happen with 
max.in.flight.requests.per.connection set to 1, Kafka says greater than 1
* metricReporters: says JmxReporter is always included, since Kafka 4.0 it must 
be listed explicitly
* keySerializer: says it defaults to the value serializer, the Camel default is 
StringSerializer
* maxInFlightRequest, partitioner, reconnectBackoffMs, sslProtocol, 
sslEnabledProtocols, sessionTimeoutMs, heartbeatIntervalMs, maxRequestSize: 
outdated or incomplete
* sendBufferBytes, receiveBufferBytes, sslKeystoreType, sslTruststoreType, 
kerberosPrincipalToLocalRules, deliveryTimeoutMs, maxPollIntervalMs (no default 
in the docs): small gaps

maxPartitionFetchBytes is handled in CAMEL-25021.

_Claude Code on behalf of Claus Ibsen_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to