easy-swoole / kafka

43 stars 16 forks source link

unpack failed #22

Open Perfect-Web opened 4 years ago

Perfect-Web commented 4 years ago

Stack trace:
#0 /var/www/vendor/easyswoole/kafka/src/Protocol/Protocol.php(185): EasySwoole\Kafka\Protocol\Protocol::checkLen('s', '')
#1 /var/www/vendor/easyswoole/kafka/src/Protocol/GroupCoordinator.php(43): EasySwoole\Kafka\Protocol\Protocol::unpack('s', '')
#2 /var/www/vendor/easyswoole/kafka/src/Protocol.php(282): EasySwoole\Kafka\Protocol\GroupCoordinator->decode('')
#3 /var/www/vendor/easyswoole/kafka/src/Group/Process.php(52): EasySwoole\Kafka\Protocol::decode(10, '')
#4 /var/www/vendor/easyswoole/kafka/src/Consumer/Process.php(143): EasySwoole\Kafka\Group\Process->getGroupBrokerId()
#5 /var/www/vendor/easyswoole/kafka/src/Consumer/Process.php(96): EasySwoole\Kafka\Consumer\Process->getGroupNodeId()
#6 /var/www/vendor/easyswoole/kafka/src/Consumer.php(38): EasySwoole\Kafka\Consumer\Process->subscribe(Object(Closure), 0.01, 128)
#7 /var/www/src/V in /var/www/vendor/easyswoole/kafka/src/Protocol/Protocol.php on line 260```
leocavalcante commented 3 years ago

I get this when my VPN drops and I can't reach the brokers anymore. Maybe gives you some tips.