Skip to content

not Close Idle Connections when close kafka writer #704

@kytool

Description

@kytool

/area sink

What version of Loggie?

main

Expected Behavior

关闭kafka sink时关闭kafka连接

Actual Behavior

关闭kafka sink时没有关闭kafka连接

Steps to Reproduce the Problem

logconfig的sink为kafka,当k8s deployment更新时,pod所在节点发生变化, 原节点会close sink, 但是kafka连接没有关闭,如果deployment比较多并且更新比较频繁,容易导致kafka连接数很高,甚至挂掉

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions