confluentinc / confluentinc/confluent-kafka-python

how to check connection before producer or consumer start.

Open
#705 11 comments 4 reactions 0 assignees View on GitHub
enhancement investigate further priority:high question status:planned status:under-review
Dominant language
Python
Stars
509
Forks
964
Avg merge
2d 2h
Merged PRs (30d)
14

Description

Description
===========
the errors was that, we have not install or run kafka in localhost, while I write a example to test
the producer and consumer, it still will block forever.
there maybe sometime as we config the url error or forget to start the kafka server.
but the behavor above make it hard to discover or debug.

so I wonder if there any way to check the connnection for the producer and consumer before loop to poll or produce.

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.