Skip to content

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

@xingcy08

Description

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions