Understanding kafka-coordinator-heartbeat-thread #2446
Replies: 2 comments
-
Source code in kafka client class @Override
public void run() {
while (true) {
// ...
} else if (!heartbeat.shouldHeartbeat(now)) {
// poll again after waiting for the retry backoff in case the heartbeat failed or the
// coordinator disconnected
AbstractCoordinator.this.wait(rebalanceConfig.retryBackoffMs);
} else {
heartbeat.sentHeartbeat(now);
// ...
}
}
}
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not sure why we have such a discussion here in Spring project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We were investigating Thread dump of one of the servers and found out there were multiple kafka heartbeat-threads in waiting state.
I wanted to understand why these threads are in waiting state.
Beta Was this translation helpful? Give feedback.
All reactions