davsclaus commented on issue #3576:
URL: https://github.com/apache/camel-k/issues/3576#issuecomment-1227172846

   You can use the camel.main.durationXXX options where you can say that if 
Camel is idle after 30 seconds (then terminate). You can then use from kafka in 
the route, that would then drain the topic until there are no more messages. 
Then Camel becomes idle and after X period it terminates itself. 
   
   And use the cron trait to make it run once per day or what schedule you need.
   
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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

Reply via email to