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 **Auto-cherry-pick to `3.3.x`** Signed-off-by: Alexis SEGURA <alex.segura06@gmail.com> Co-authored-by: Alexis SEGURA <alexis.segura@akt.io>
This commit is contained in:
@@ -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