I use camel apache to integrate with my kafka post. I also use JAVA DSL to consume messages from kafka endpoint.
Using the apache kafka API, he knows how to comment on consumer offsets with given properties.
if I disbale auto commit in camel-kafka component, how can I commit offsets in apcahe camel, then?
I use the lower endpoint to disable auto-commit in Apache Camel
kafka.consumer.uri = kafka://{{kafka.host}}?zookeeperHost={{zookeeper.host}}&zookeeperPort={{zookeeper.port}}&groupId={{kafka.consumerGroupId}}&topic={{kafka.topic.transformer_t}}&{{kafka.uri.options}} kafka.uri.options = autoCommitEnable=false
usman source share