WIP
authorKai Moritz <kai@juplo.de>
Wed, 24 Jan 2024 22:35:04 +0000 (23:35 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 24 Jan 2024 22:35:04 +0000 (23:35 +0100)
src/test/java/de/juplo/kafka/ApplicationTests.java

index 28f81d6..581658e 100644 (file)
@@ -39,7 +39,8 @@ public class ApplicationTests
     SimpleProducer instanceA = new SimpleProducer(
       bootstrapServers,
       TOPIC,
-      "FOO");
+      "FOO",
+      "A");
 
     instanceA.begin();
     CompletableFuture<Long> 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<Long> resultB1 = instanceB.send("b","message #1");