Hello, we are handling tons of messages with php-rdkafka and librdkafka, and this is very good job guys. We're wondering if some of you already encountered this behaviour: when a consumer have to be properly stopped, we send a SIGINT to the PHP process, and we call pcntl_signal_dispatch() after each consumed message. We registered a callback on SIGINT, and simply tell the main loop to quit as soon as possible. This is working like a charm when the consumer have been started for a few minutes, but when the PHP process is running for... let say 10 days, it never finishes. It looks like it is waiting for things to finish, but this is never happening, and we have to kill it.