You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2021. It is now read-only.
Behaviour: Cannot create a simple consumer with a consumer group id. You can create a simple consumer if consumer_group is not specified (but then you cannot call commit_offsets() – which is expected behaviour).
Traceback (most recent call last):
File "test.py", line 12, in <module>
consumer = topic.get_simple_consumer(consumer_group='some_identifier')
File "/home/ubuntu/carl/kafka-tests/venv/local/lib/python2.7/site-packages/pykafka/topic.py", line 159, in get_simple_consumer
consumer_group=consumer_group, **kwargs)
File "/home/ubuntu/carl/kafka-tests/venv/local/lib/python2.7/site-packages/pykafka/simpleconsumer.py", line 157, in __init__
self._discover_offset_manager()
File "/home/ubuntu/carl/kafka-tests/venv/local/lib/python2.7/site-packages/pykafka/simpleconsumer.py", line 232, in _discover_offset_manager
self._offset_manager = self._cluster.get_offset_manager(self._consumer_group)
File "/home/ubuntu/carl/kafka-tests/venv/local/lib/python2.7/site-packages/pykafka/cluster.py", line 283, in get_offset_manager
res = future.get(ConsumerMetadataResponse)
File "/home/ubuntu/carl/kafka-tests/venv/local/lib/python2.7/site-packages/pykafka/handlers.py", line 60, in get
raise self.error
pykafka.exceptions.SocketDisconnectedError