suneetk92 edited a comment on pull request #5201:
URL: https://github.com/apache/camel/pull/5201#issuecomment-808267395


   Hi,
   I think you also need to check what is the value of autoCommitOnStop during 
shutdown. 
   
   As of now, during shutdown - kafka revoke the assigned partition, and then 
it is forcing commitSync
   
   ```
   DEBUG org.apache.camel.component.kafka.KafkaConsumer: - onPartitionsRevoked: 
**-Thread 0 from topic **
   
   DEBUG org.apache.camel.component.kafka.KafkaConsumer: - Forcing commitSync 
**-Thread 0 from topic ** with offset: 31621
   ```
   
   if condition should be same as that in doRun() method


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to