Asciidoc-Tags korrigiert spring/supersimple-producer---2023-10-signal
authorKai Moritz <kai@juplo.de>
Sun, 18 Jun 2023 10:16:03 +0000 (12:16 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 18 Jun 2023 10:20:37 +0000 (12:20 +0200)
src/main/java/de/juplo/kafka/Application.java

index 240f7d0..7a23da9 100644 (file)
@@ -27,7 +27,9 @@ public class Application implements ApplicationRunner
       // end::supersimple[]
       // tag::callback[]
       ListenableFuture<SendResult<String, String>> listenableFuture =
+      // tag::supersimple[]
           kafkaTemplate.send("test", Long.toString(i%10), Long.toString(i));
+      // end::supersimple[]
 
       listenableFuture.addCallback(
           result -> log.info(