CAMEL-20227: avoid calling the consumer test unless Kafka consumer has been paused#14769
Conversation
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🤖 CI automation will test this PR automatically. 🐫 Apache Camel Committers, please review the following items:
|
|
BTW, this is just a remedy. Longer term I think I should consider augmenting the |
Yeah that is not desireable. If any logging then it can be TRACE level. |
We can add a note in the kafka doc to point users to route policy as well. |
|
Thanks. I'll include these documentation improvements into this PR. |
1bae6e7 to
067c748
Compare
|
Created https://issues.apache.org/jira/browse/CAMEL-20957 for re-implementing this as a |
067c748 to
126d284
Compare
|
Looking good on the CI. Let's merge. |
Hey @davsclaus, this is more or less what I was thinking about in my comment on #14745 (comment).
I'm wondering if we should add a log on to inform that we are not calling the
afterConsumeEval.test(null)because it has not been paused (I have not done so yet, as I think it would flood the log with those messages, because it would be called after everypoll).