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

Int32::unpack() must be of the type int, null returned #66

Closed lipin closed 2 years ago

lipin commented 2 years ago

Fatal error: Uncaught TypeError: Return value of longlang\phpkafka\Protocol\Type\Int32::unpack() must be of the type int, null returned in /var/www/html/live-php/vendor/longlang/phpkafka/src/Protocol/Type/Int32.php:43

腾讯云 ckafka 0.10.2.1

PHP 7.4.28 (cli) (built: Mar 18 2022 01:43:55) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
longlang/phpkafka                  dev-master f154746 A kafka client. Support php-fpm and Swoole.
produce.php
lipin commented 2 years ago

版本问题