Skip to content

Commit 55b16f1

Browse files
garyrussellartembilan
authored andcommitted
Fix DEBUG error message about reply topics
**cherry-pick to 2.1.x**
1 parent e0e013e commit 55b16f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-kafka/src/main/java/org/springframework/kafka/requestreply/ReplyingKafkaTemplate.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ else if (properties.getTopicPartitions() != null && properties.getTopicPartition
114114
this.replyTopic = null;
115115
this.replyPartition = null;
116116
this.logger.debug("Could not determine container's reply topic/partition; senders must populate "
117-
+ "at least the " + KafkaHeaders.REPLY_PARTITION + " header");
117+
+ "at least the " + KafkaHeaders.REPLY_TOPIC + " header, and optionally the "
118+
+ KafkaHeaders.REPLY_PARTITION + " header");
118119
}
119120
else {
120121
this.replyTopic = replyTopic.getBytes(StandardCharsets.UTF_8);

0 commit comments

Comments
 (0)