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

Avoid FD spike after retrying KafkaAdminClient #186

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 13, 2024

  1. Avoid FD spike after retrying KafkaAdminClient

    A caller might call kafka.KafkaAdminClient repeatedly and handle
    kafka.errors.NoBrokersAvailable if the broker is not available.
    
    However, each retry will cause 3 extra FD being used. Depends on how
    long the caller wait before retry, the FD usage can reach 300~700 before
    Python garbage collector collecting those FD.
    
    This commit close those FD early.
    orange-kao committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    127eb80 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    c2046be View commit details
    Browse the repository at this point in the history