Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void processMessage(MyPojo message) {
}

@DltHandler
public void processMessage(MyPojo message) {
public void processDltMessage(MyPojo message) {
// ... message processing, persistence, etc
}
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ public RetryTopicConfiguration myRetryTopic(KafkaTemplate<String, MyPojo> templa
return RetryTopicConfigurationBuilder
.newInstance()
.dltRoutingRules(Map.of("-deserialization", Set.of(DeserializationException.class)))
.create(kafkaOperations)
.create(template);
}
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
* @author Gary Russell
* @author Tomaz Fernandes
* @author Watlas R
* @author Borahm Lee
* @since 2.2
*
*/
Expand Down Expand Up @@ -571,7 +572,7 @@ private void sendOrThrow(ProducerRecord<Object, Object> outRecord,

private void maybeThrow(ConsumerRecord<?, ?> record, Exception exception) {
String message = String.format("No destination returned for record %s and exception %s. " +
"failIfNoDestinationReturned: %s", KafkaUtils.format(record), exception,
"throwIfNoDestinationReturned: %s", KafkaUtils.format(record), exception,
this.throwIfNoDestinationReturned);
this.logger.warn(message);
if (this.throwIfNoDestinationReturned) {
Expand Down