Replies: 1 comment 2 replies
-
You'd have to try this, but this does not mean afaik that the PHP process needs to explicitly call Kafka communication is done in a separate "thread" (if not a straight up thread) and client should keep sending heartbeat to Kafka. Only after 5 minutes passed and the client was not active at all, it will be considered "dead" and a rebalance will happen. But you should test it out to be sure. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since we cannot set a value for
max.poll.records
, how many records are polled from Kafka with a single request? 500? I am asking becausemax.poll.interval.ms
states:Given I don't use auto-commit, but commit every 10 messages. If I have a consumer that takes 1 minute for processing a single message and by default 500 messages are polled, does that mean that with a
max.poll.interval.ms
set to the default of 5 minutes, Kafka will trigger a rebalance after 5 processed messages (since the next poll that pulls 500 messages happens only after the queued 500 messages are all processed) thinking the consumer is dead?Beta Was this translation helpful? Give feedback.
All reactions