I want to check if my topic is empty after changing a retention.ms to 100ms. I try to consume from my topic like this :
consumer_kafka = KafkaConsumer(topic,