java - How to commit consumer offsets using Camel-kafka? -


i using apache camel integerate kafka messaging. using java dsl consume messages kafka endpoint.

using apache kafka api's known how commit consumer offsets given properties toggling.

if disbale auto commit in camel-kafka component how can commit offsets in apcahe camel then?

i using below endpoint 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 


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -