Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当向一个不存在的 topic 生产消息时导致无限循环最后内存溢出 #80

Open
xingcy08 opened this issue Mar 15, 2023 · 4 comments

Comments

@xingcy08
Copy link

  • 你遇到了什么问题?
    当在代码里设置了 ->setAutoCreateTopic(false) 时或者 kafka 服务器禁止了自动创建 topic 时,生产一个不存在的 topic 导致死循环最后内存溢出

看了源码是没有加重试次数导致的无限循环

@xingcy08
Copy link
Author

@limingxinleo

@limingxinleo
Copy link
Collaborator

好,我这周看看

@jdbaha
Copy link

jdbaha commented May 19, 2023

yeap, if you disable the flag, there will be no infinite loop

@over-star
Copy link

这个bug解决了吗?php-fpm准备用这个库试试 @xingcy08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants