confluentinc / confluentinc/confluent-kafka-python

About creating consumers

Open
#1,232 8 comments 0 reactions 0 assignees View on GitHub
bug code:python size:small status:help-wanted
Dominant language
Python
Stars
509
Forks
964
Avg merge
2d 2h
Merged PRs (30d)
14

Description

` c = Consumer({
'bootstrap.servers': servers,
'group.id': groupid,
'auto.offset.reset': offsettype,
# 'auto.offset.reset': 'latest',
})
c.subscribe([topic])`
When I created the consumer, I thought it would be obvious if there was no data because KAFKA was not connected

Checklist
=========
Please provide the following information:

- [ ] confluent-kafka-python and librdkafka version (`confluent_kafka.version()` and `confluent_kafka.libversion()`):
- [ ] Apache Kafka broker version:
- [ ] Client configuration: `{...}`
- [ ] Operating system:
- [ ] Provide client logs (with `'debug': '..'` as necessary)
- [ ] Provide broker log excerpts
- [ ] Critical issue

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.