From: Kai Moritz Date: Wed, 24 Jan 2024 22:35:46 +0000 (+0100) Subject: WIP X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fproducer%2Ffencing;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 581658e..6888d1f 100644 --- a/src/test/java/de/juplo/kafka/ApplicationTests.java +++ b/src/test/java/de/juplo/kafka/ApplicationTests.java @@ -39,8 +39,8 @@ public class ApplicationTests SimpleProducer instanceA = new SimpleProducer( bootstrapServers, TOPIC, - "FOO", - "A"); + "A", + "FOO"); instanceA.begin(); CompletableFuture resultA1 = instanceA.send("a","message #1"); @@ -52,8 +52,8 @@ public class ApplicationTests SimpleProducer instanceB = new SimpleProducer( bootstrapServers, TOPIC, - "FOO", - "B"); + "B", + "FOO"); instanceB.begin(); CompletableFuture resultB1 = instanceB.send("b","message #1");