aio-libs / aio-libs/aiokafka

[QUESTION] Is there a way to monitor the heartbeat state?

Open
#1,040 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
1.4k
Forks
269
Avg merge
1d 1h
Merged PRs (30d)
6

Description

I'm doing kind of health-check stuff for consumers and would like to leverage current heartbeat state to do it. Like mark the consumer pod as failed once the heartbeat is failed. I found we could see the heartbeat failed logs but it seems that the heartbeat failure is not exposed as an event or an error by AIOKafka.
Is there a way that I can use to capture the heartbeat failure in my consumer code? Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.