Kafka - with Java/Python
Given this Java Kafka consumer code snippet, what will be printed if a network error occurs during poll?
try {
ConsumerRecords records = consumer.poll(Duration.ofMillis(100));
for (var record : records) {
System.out.println(record.value());
}
} catch (WakeupException e) {
System.out.println("Consumer interrupted");
} catch (Exception e) {
System.out.println("Error during poll");
} 