Skip to content

Commit f046b0c

Browse files
committed
Use thread-specific client_id in test_group
1 parent 760f741 commit f046b0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: test/test_consumer_group.py

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def consumer_thread(i):
5656
consumers[i] = KafkaConsumer(topic,
5757
bootstrap_servers=connect_str,
5858
group_id=group_id,
59+
client_id="consumer_thread-%s" % i,
5960
heartbeat_interval_ms=500)
6061
while not stop[i].is_set():
6162
for tp, records in six.itervalues(consumers[i].poll(timeout_ms=200)):

0 commit comments

Comments
 (0)