Hi ππ»
I have a pytest test with parametrization (7 tests), that produce and consume simple msg with simple logic.
It uses kafka cluster with 3 nodes, each test creates topic with new name test_toipic<β_test>with 3 partition and 2 replica-factor, and delete this topic after each test.
Each test I run 3 consumers with new group test_group<β_test>
Every time I run this test, 1/7 or 2/7 fails, because there are no partitions for the consumer group:
[WARNING] No partition metadata for topic test_topic_4 (roundrobin.py:61)
I use KafkaAdminClient to inspect some details, so I get:
topic:
Hi ππ» I have a pytest test with parametrization (7 tests), that produce and consume simple msg with simple logic. It uses kafka cluster with 3 nodes, each test creates topic with new name
test_toipic<β_test>
with 3 partition and 2 replica-factor, and delete this topic after each test. Each test I run 3 consumers with new grouptest_group<β_test>
Every time I run this test, 1/7 or 2/7 fails, because there are no partitions for the consumer group:[WARNING] No partition metadata for topic test_topic_4 (roundrobin.py:61)
I use KafkaAdminClient to inspect some details, so I get: topic:
group:
As you can see, the topic has 3 partitions, by all members of the group have
assignment=[]
I also use kafka-ui and can share some details from there:
Do you have any idea why is this happeningππ»? Let me know If you need any additional information