confluentinc / confluentinc/confluent-kafka-python

Guidance on standalone consumer implementation

Open
#1,961 2 comments 0 reactions 1 assignee Claimed by @pranavrth View on GitHub
question
Dominant language
Python
Stars
509
Forks
964
Avg merge
2d 2h
Merged PRs (30d)
14

Description

Hi, we are trying to implement what is suggested in https://medium.com/@ravisharma911993/kafka-broadcasting-messages-without-consumer-groups-5a374fcfb7bc - a standalone consumer.

The use case: we have dynamic pods coming alive consuming from latest, die and not set any offset.

This would require, among other things, to set the group id to empty/none. Based on the post this is ok in Java, but in python we get

```
Failed to subscribe to topics: KafkaError{code=_UNKNOWN_GROUP,val=-179,str="Failed to set subscription: Local: Unknown group"}
```

Are there any plan to support this use case?
What is the current reason we do not allow for empty group?

Thank you 🙏

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.