Kafka - Event-Driven Architecture
Consider this Kafka consumer snippet:
try {
handle(record);
} catch (Exception e) {
producer.send(new ProducerRecord<>("dlq-topic", record.key(), record.value()));
} What is the effect if handle(record) throws an exception?