Kafka - Consumers
Examine the following Kafka consumer poll loop snippet:
What is the primary issue with this code?
while (true) {
var records = consumer.poll(100);
for (var record : records) {
System.out.println(record.value());
}
}What is the primary issue with this code?
