swoole / phpkafka

PHP Kafka client is used in PHP-FPM and Swoole. PHP Kafka client supports 50 APIs, which might be one that supports the most message types ever.
https://longlang.org/
Apache License 2.0
271 stars 47 forks source link

Fix errors in non-swoole environments #81

Closed huangdijia closed 1 year ago

huangdijia commented 1 year ago

fix

[ERROR] ErrorException: stream_select(): Argument #5 ($microseconds) should be null instead of 0 when argument #4 ($seconds) is null in /Users/demo/vendor/longlang/phpkafka/src/Socket/StreamSocket.php:252
huangdijia commented 1 year ago

合并到 #82 了