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(inifinty-loop): updateMetadata avoid infinity-loop #103

Closed Lupennat closed 3 weeks ago

Lupennat commented 4 weeks ago

Under certain conditions updateMetadata may produce an infinite loop. If the topic does not exist and topic autocreation is not enabled, the Producer tries to send a message and updateMetadata continues to fetch topics indefinitely.