Skip to content

Commit 38212ef

Browse files
committed
Apply suggestion from automated review
1 parent e05b116 commit 38212ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/develop/pages/transactions.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ The transformation reads a record from `topic(1)`, processes it, and writes it t
153153
[,java]
154154
----
155155
var source = "source-topic";
156-
var target = "target-topic"
156+
var target = "target-topic";
157157
158158
Properties pprops = new Properties();
159159
pprops.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, "...");
160160
pprops.put(ProducerConfig.ACKS_CONFIG, "all");
161161
pprops.put(ProducerConfig.ENABLE_IDEMPOTENCE_CONFIG, true);
162-
pprops.put(ProducerConfig.TRANSACTIONAL_ID_CONFIG, UUID.newUUID());
162+
pprops.put(ProducerConfig.TRANSACTIONAL_ID_CONFIG, UUID.randomUUID().toString());
163163
164164
Properties cprops = new Properties();
165165
cprops.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, "...");

0 commit comments

Comments
 (0)