Skip to content

Commit a7632c0

Browse files
committed
Actually enable withRedistributeByRecordKey in KafkaIOTest.
1 parent 04195e9 commit a7632c0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,9 @@ static KafkaIO.Read<Integer, Long> mkKafkaReadTransform(
494494
if (offsetDeduplication != null && offsetDeduplication) {
495495
reader.withOffsetDeduplication(offsetDeduplication);
496496
}
497+
if (redistributeByRecordKey != null && redistributeByRecordKey) {
498+
reader.withRedistributeByRecordKey(redistributeByRecordKey);
499+
}
497500
}
498501
return reader;
499502
}

0 commit comments

Comments
 (0)