xushiyan commented on code in PR #8445:
URL: https://github.com/apache/hudi/pull/8445#discussion_r1203794976
##########
hudi-utilities/src/test/java/org/apache/hudi/utilities/deltastreamer/TestHoodieDeltaStreamer.java:
##########
@@ -1946,8 +1947,8 @@ public void testJsonKafkaDFSSource() throws Exception {
@Test
public void testJsonKafkaDFSSourceWithOffsets() throws Exception {
topicName = "topic" + testNum;
- int numRecords = 15;
- int numPartitions = 3;
+ int numRecords = 30;
+ int numPartitions = 2;
Review Comment:
this has sth to do with `org.apache.spark.streaming.kafka010.KafkaTestUtils`
which only utilizes 2 partitions (probably limited by spark partitions due to
1:1 mapping). hence doing more than 2 will not give expected even records per
partitions. this can be pushed as follow up to improve the test setup.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]