Skip to content

Conversation

@dubee
Copy link
Member

@dubee dubee commented Apr 30, 2019

Due to a bug in the Kafka client being used, a consumer may restart incrementally over time, resulting in the consumer restart counter continually increasing. A restart counter that gradually increases over time may create false alarms if the value is being used for health monitoring purposes. Given such a scenario, the changes here with reset the restart counter when a consumer restarts after a 24 hour period.

Related client bug: https://github.com/apache/incubator-openwhisk-package-kafka/blob/master/provider/thedoctor.py#L67.

@dubee dubee requested a review from jasonpet April 30, 2019 15:39
@dubee dubee added the wip label Apr 30, 2019
@dubee dubee added review and removed wip labels Apr 30, 2019
Copy link

@jasonpet jasonpet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jasonpet jasonpet merged commit 7ebdaa6 into apache:master Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants