[ https://issues.apache.org/jira/browse/CAMEL-17577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485400#comment-17485400 ]
Benjamin Graf edited comment on CAMEL-17577 at 2/1/22, 6:05 PM: ---------------------------------------------------------------- I know, but it's nice to have it on. :) Unfortunately, I have to disable consumer health checks completely because the colon needed (camel.health.config[consumer{*}:{*}abc].enabled=false) does not work well with yaml files in OpenShift ConfigMaps. was (Author: graben): I know, but it's nice to have it on. :) Unfortunately, I have to disable consumer health checks completely because the colon needed (camel.health.config[consumer{*}:{*}abc].enabled=false) does not work well with yaml files in OpenShift ConfigMaps. > Greedy flag causing consumer health check to fail > ------------------------------------------------- > > Key: CAMEL-17577 > URL: https://issues.apache.org/jira/browse/CAMEL-17577 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 3.14.1, 3.15.0 > Reporter: Benjamin Graf > Priority: Minor > Fix For: 3.14.2, 3.16.0 > > > Polling consumer using greedy flag to immediately poll again for large size > of messages available are causing consumer health checks to fail for a > possibly "long" time. In an environment like a Kubernates cluster this could > cause recurring pod restarts that might tighten the need to use greedy > because of a growing size of messages needed to be polled. > The variable firstPoolDone (btw rename to first{*}Poll{*}Done) in > ScheduledPollConsumer should also be set true if first greedy run has been > finished. -- This message was sent by Atlassian Jira (v8.20.1#820001)