Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka streams: consumer poll timeout has expired #44561

Open
kennylam91 opened this issue Nov 18, 2024 · 1 comment
Open

Kafka streams: consumer poll timeout has expired #44561

kennylam91 opened this issue Nov 18, 2024 · 1 comment
Labels
area/kafka-streams kind/bug Something isn't working

Comments

@kennylam91
Copy link

Describe the bug

Our service is using extension [email protected] to handle kafka messages. Everything was working fine until we added some new logic which took some more time for each message. The service didn't receive or consume any kafka messages.
We found this log before the service stopped working:
2024-11-15T10:55:30.336+0000 WARN [or.ap.ka.cl.co.in.ConsumerCoordinator] (kafka-coordinator-heartbeat-thread | ...) [Consumer clientId=d48eb33d-243e-429a-9036-a990faf0da9c-StreamThread-2-consumer, groupId=...] consumer poll timeout has expired. This means the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time processing messages. You can address this either by increasing max.poll.interval.ms or by reducing the maximum size of batches returned in poll() with max.poll.records.

But actually the service was not down, it just stopped consuming messages.
I've search for this error and the results said that when this issue consumer poll timeout has expired happens, the consumer would be kicked out of consumer group. Is that true? We can we deal with it?
The log level WARN is also a little bit confusing.

Any help or suggestion is appreciated, thanks in advance.

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@kennylam91 kennylam91 added the kind/bug Something isn't working label Nov 18, 2024
Copy link

quarkus-bot bot commented Nov 18, 2024

/cc @alesj (kafka,kafka-streams), @cescoffier (kafka), @gunnarmorling (kafka-streams), @ozangunalp (kafka,kafka-streams), @rquinio (kafka-streams)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kafka-streams kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants