Kafka - Consumers
Given this snippet, what will be printed?
Assuming the topic has messages with values "Hello" and "World".
while (true) {
var records = consumer.poll(Duration.ofMillis(100));
for (var record : records) {
System.out.println(record.value());
}
break;
}Assuming the topic has messages with values "Hello" and "World".
