From: Kai Moritz Date: Tue, 12 Nov 2024 11:26:27 +0000 (+0100) Subject: Der supersimple Producer schreibt endlos... X-Git-Tag: spring/supersimple-producer--BRANCH-ENDE~1 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=0566d227e17ba351fe4b6d214dfacca6d413834f;p=demos%2Fkafka%2Ftraining Der supersimple Producer schreibt endlos... --- diff --git a/src/main/java/de/juplo/kafka/ExampleProducer.java b/src/main/java/de/juplo/kafka/ExampleProducer.java index ba95dfb..09cd323 100644 --- a/src/main/java/de/juplo/kafka/ExampleProducer.java +++ b/src/main/java/de/juplo/kafka/ExampleProducer.java @@ -23,7 +23,7 @@ public class ExampleProducer implements ApplicationRunner @Override public void run(ApplicationArguments args) { - for (int i = 0; i < 100; i++) + for (int i = 0; true; i++) { // end::supersimple[] // tag::callback[]