-
Notifications
You must be signed in to change notification settings - Fork 922
Closed
Description
Description
When I initialize a new consumer, if I pass an erroneous connection string via bootstrap.servers
, I don't get an error. I would expect to get an error; if not at initialization, then upon poll
.
How to reproduce
confluent-kafka == ('1.4.2', 17039872)
librdkafka == ('1.4.2', 17040127)
MacOS 11.1 (big sur)
import confluent_kafka as ck
config = {'bootstrap.servers': 'fake', 'group.id': 'fake'}
con = ck.Consumer(**config)
con.subscribe(['nonexistant-topic'])
con.poll(timeout=0.1)
Checklist
Please provide the following information:
- [ x] confluent-kafka-python and librdkafka version (
confluent_kafka.version()
andconfluent_kafka.libversion()
): - Apache Kafka broker version:
- [ x] Client configuration:
{...}
- [ x] Operating system:
- Provide client logs (with
'debug': '..'
as necessary) - Provide broker log excerpts
- Critical issue
Metadata
Metadata
Assignees
Labels
No labels