Skip to content

Commit df4c9c4

Browse files
committed
Fix comma formatting for mkKafkaReadTransform.
1 parent d07d2e8 commit df4c9c4

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

sdks/java/io/kafka/src/test/java/org/apache/beam/sdk/io/kafka/KafkaIOReadImplementationCompatibilityTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private PipelineResult testReadTransformCreationWithImplementationBoundPropertie
116116
false, /*allowDuplicates*/
117117
0, /*numKeys*/
118118
null, /*offsetDeduplication*/
119-
null /*topics*/,
119+
null, /*topics*/
120120
null /*redistributeByRecordKey*/)));
121121
return p.run();
122122
}

sdks/java/io/kafka/src/test/java/org/apache/beam/sdk/io/kafka/KafkaIOTest.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ static KafkaIO.Read<Integer, Long> mkKafkaReadTransform(
394394
false, /*allowDuplicates*/
395395
0, /*numKeys*/
396396
null, /*offsetDeduplication*/
397-
null /*topics*/,
397+
null, /*topics*/
398398
null /*redistributeByRecordKey*/);
399399
}
400400

@@ -408,7 +408,7 @@ static KafkaIO.Read<Integer, Long> mkKafkaReadTransformWithOffsetDedup(
408408
false, /*allowDuplicates*/
409409
100, /*numKeys*/
410410
true, /*offsetDeduplication*/
411-
null /*topics*/,
411+
null, /*topics*/
412412
null /*redistributeByRecordKey*/);
413413
}
414414

@@ -424,7 +424,7 @@ static KafkaIO.Read<Integer, Long> mkKafkaReadTransformWithRedistributeByRecordK
424424
false, /*allowDuplicates*/
425425
100, /*numKeys*/
426426
true, /*offsetDeduplication*/
427-
null /*topics*/,
427+
null, /*topics*/
428428
byRecordKey /*redistributeByRecordKey*/);
429429
}
430430

@@ -440,7 +440,7 @@ static KafkaIO.Read<Integer, Long> mkKafkaReadTransformWithTopics(
440440
false, /*allowDuplicates*/
441441
0, /*numKeys*/
442442
null, /*offsetDeduplication*/
443-
topics /*topics*/,
443+
topics, /*topics*/
444444
null /*redistributeByRecordKey*/);
445445
}
446446

@@ -745,7 +745,7 @@ public void warningsWithAllowDuplicatesEnabledAndCommitOffsets() {
745745
true, /*allowDuplicates*/
746746
0, /*numKeys*/
747747
null, /*offsetDeduplication*/
748-
null /*topics*/,
748+
null, /*topics*/
749749
null /*redistributeByRecordKey*/)
750750
.commitOffsetsInFinalize()
751751
.withConsumerConfigUpdates(
@@ -774,7 +774,7 @@ public void noWarningsWithNoAllowDuplicatesAndCommitOffsets() {
774774
false, /*allowDuplicates*/
775775
0, /*numKeys*/
776776
null, /*offsetDeduplication*/
777-
null /*topics*/,
777+
null, /*topics*/
778778
null /*redistributeByRecordKey*/)
779779
.commitOffsetsInFinalize()
780780
.withConsumerConfigUpdates(
@@ -804,7 +804,7 @@ public void testNumKeysIgnoredWithRedistributeNotEnabled() {
804804
false, /*allowDuplicates*/
805805
0, /*numKeys*/
806806
null, /*offsetDeduplication*/
807-
null /*topics*/,
807+
null, /*topics*/
808808
null /*redistributeByRecordKey*/)
809809
.withRedistributeNumKeys(100)
810810
.commitOffsetsInFinalize()
@@ -2178,7 +2178,7 @@ public void testUnboundedSourceStartReadTime() {
21782178
false, /*allowDuplicates*/
21792179
0, /*numKeys*/
21802180
null, /*offsetDeduplication*/
2181-
null /*topics*/,
2181+
null, /*topics*/
21822182
null /*redistributeByRecordKey*/)
21832183
.withStartReadTime(new Instant(startTime))
21842184
.withoutMetadata())
@@ -2255,7 +2255,7 @@ public void testUnboundedSourceStartReadTimeException() {
22552255
false, /*allowDuplicates*/
22562256
0, /*numKeys*/
22572257
null, /*offsetDeduplication*/
2258-
null /*topics*/,
2258+
null, /*topics*/
22592259
null /*redistributeByRecordKey*/)
22602260
.withStartReadTime(new Instant(startTime))
22612261
.withoutMetadata())

0 commit comments

Comments
 (0)