Describe the bug
stopAfterLastMessage does not work as expected. I expected it to consume all messages from the last offset it had consumed, but instead it just stops the process.
To Reproduce
Steps to reproduce the behavior:
create the topic test_topic
publish a few messages to this topic
now listen to this topic using the following code:
seems something to do with a timeout. setting consumer_timeout_ms to 4000 seems to work. Either this needs to be addressed in the documentation or the default timeout needs an increase.
Describe the bug stopAfterLastMessage does not work as expected. I expected it to consume all messages from the last offset it had consumed, but instead it just stops the process.
To Reproduce Steps to reproduce the behavior:
test_topic
Expected behavior I expect to see the messages I sent in step 2 to show up and then the process ends.
Actual behavior Stops the process without even consuming the messages.
Additional context PHP 8.2 latest rdkafka extension version latest laravel-kafka version