php-rdkafka: a strange issue on rdkafka,can not exit from the script

  • PHP version: 5.6.21
  • librdkafka version: 0.9.1
  • php-rdkfaka version: 1.0
<?php
$conf = new \RdKafka\Conf();
        $conf->set('group.id', 'elk_consumedeijhelloworld'); 
        $rk = new \RdKafka\Consumer($conf);
echo 111;exit;
echo 222;

the terminal output just 111 and hang up (no response,no exit), the progress is still there why?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

Hi, Any updates? I also have the same problem. PHP script just hangs and does not exit.

rdkafka support => enabled version => 3.0.1 build date => Mar 18 2017 14:35:12 librdkafka version (runtime) => 0.9.2-291-g281ca3-dirty librdkafka version (build) => 0.9.4.0