Skip to content

Commit 80c3a76

Browse files
author
Dana Powers
committed
Warn on 0.8.2 GroupCoordinator no-topic-quirk, dont raise exception
1 parent b52f17e commit 80c3a76

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

kafka/conn.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,12 @@ def _process_response(self, read_buffer):
305305
# 0.8.2 quirk
306306
if (self.config['api_version'] == (0, 8, 2) and
307307
ifr.response_type is GroupCoordinatorResponse and
308+
ifr.correlation_id != 0 and
308309
recv_correlation_id == 0):
309-
raise Errors.KafkaError(
310-
'Kafka 0.8.2 quirk -- try creating a topic first')
310+
log.warning('Kafka 0.8.2 quirk -- GroupCoordinatorResponse'
311+
' coorelation id does not match request. This'
312+
' should go away once at least one topic has been'
313+
' initialized on the broker')
311314

312315
elif ifr.correlation_id != recv_correlation_id:
313316

0 commit comments

Comments
 (0)