confluentinc / confluentinc/confluent-kafka-python
Producer. Connection or connection error handling
- Dominant language
- Python
- Stars
- 509
- Forks
- 964
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 14
Description
Description
===========
Code runs before connection has been established.
How to reproduce
================
```
....
producer = Producer(config);
print('CONNECTED')
....
```
Checklist
=========
Please provide the following information:
- [X] 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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.