confluentinc / confluentinc/confluent-kafka-python

Producer. Connection or connection error handling

Open
#1,472 2 comments 1 reaction 0 assignees View on GitHub
enhancement question status:waiting-for-interest
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.