GH-3693: Remove outdated DLT Topic Suffix references from Javadoc, reference doc and code sample. (#3831)
Fixes: #3693
Issue link: https://github.com/spring-projects/spring-kafka/issues/3693
Signed-off-by: Alexis SEGURA <alex.segura06@gmail.com>
Co-authored-by: Alexis SEGURA <alexis.segura@akt.io>
(cherry picked from commit e2a39cd580)
This commit is contained in:
committed by
Spring Builds
parent
09018f81e2
commit
192e9e26d2
@@ -79,7 +79,7 @@ public class Application {
|
||||
this.exec.execute(() -> System.out.println("Hit Enter to terminate..."));
|
||||
}
|
||||
|
||||
@KafkaListener(id = "dltGroup", topics = "topic1.DLT")
|
||||
@KafkaListener(id = "dltGroup", topics = "topic1-dlt")
|
||||
public void dltListen(byte[] in) {
|
||||
logger.info("Received from DLT: " + new String(in));
|
||||
this.exec.execute(() -> System.out.println("Hit Enter to terminate..."));
|
||||
@@ -92,7 +92,7 @@ public class Application {
|
||||
|
||||
@Bean
|
||||
public NewTopic dlt() {
|
||||
return new NewTopic("topic1.DLT", 1, (short) 1);
|
||||
return new NewTopic("topic1-dlt", 1, (short) 1);
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
Reference in New Issue
Block a user