orpiske commented on PR #14745: URL: https://github.com/apache/camel/pull/14745#issuecomment-2212350669
@davsclaus actually, this is different from pausing the route per se. The idea for the `pausable` API is to pause the Kafka consumer (so as not to cause a rebalance when there is a transient issue). Nonetheless, let's see if we can brainstorm some improvements to this once you are back. There are some specific requirements for pausing the KafkaConsumer (such as: it must be done from the same thread as the one calling 'poll'), but if we could do this using the `RoutePolicy`, we could retire this API and make it simpler for the users. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
