From: Kai Moritz Date: Wed, 24 Jan 2024 22:35:04 +0000 (+0100) Subject: WIP X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=0f373a70aeaf65767c5354ca7e0944617c44170e;p=demos%2Fkafka%2Ftraining WIP --- diff --git a/src/test/java/de/juplo/kafka/ApplicationTests.java b/src/test/java/de/juplo/kafka/ApplicationTests.java index 28f81d6..581658e 100644 --- a/src/test/java/de/juplo/kafka/ApplicationTests.java +++ b/src/test/java/de/juplo/kafka/ApplicationTests.java @@ -39,7 +39,8 @@ public class ApplicationTests SimpleProducer instanceA = new SimpleProducer( bootstrapServers, TOPIC, - "FOO"); + "FOO", + "A"); instanceA.begin(); CompletableFuture resultA1 = instanceA.send("a","message #1"); @@ -51,7 +52,8 @@ public class ApplicationTests SimpleProducer instanceB = new SimpleProducer( bootstrapServers, TOPIC, - "FOO"); + "FOO", + "B"); instanceB.begin(); CompletableFuture resultB1 = instanceB.send("b","message #1");