Skip to content

Producer. Connection or connection error handling #1472

@almaz1213

Description

@almaz1213

Description

Code runs before connection has been established.

How to reproduce

....
producer = Producer(config);
print('CONNECTED')
....

Checklist

Please provide the following information:

  • Critical issue

the code above prints CONNECTED before connection of even connection timeout or error.

how to handle connection result? is there some some parameters where i could set a callback?

documentation https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#producer does not discover the config parameters properly

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequesting a feature changequestionA question about how to use or about expected behavior of the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy