Kafka - Event-Driven Architecture
Examine this Kafka consumer code snippet:
try {
process(record);
} catch (Exception e) {
producer.send("dlq-topic", record.key(), record.value());
} What is the issue with this code regarding sending messages to the DLQ?