yihua commented on code in PR #8184:
URL: https://github.com/apache/hudi/pull/8184#discussion_r1155070220
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/helpers/KafkaOffsetGen.java:
##########
@@ -282,8 +226,8 @@ public OffsetRange[] getNextOffsetRanges(Option<String>
lastCheckpointStr, long
}
// Come up with final set of OffsetRanges to read (account for new
partitions, limit number of events)
- long maxEventsToReadFromKafka =
props.getLong(Config.MAX_EVENTS_FROM_KAFKA_SOURCE_PROP.key(),
- Config.MAX_EVENTS_FROM_KAFKA_SOURCE_PROP.defaultValue());
+ long maxEventsToReadFromKafka =
props.getLong(KafkaSourceConfig.MAX_EVENTS_FROM_KAFKA_SOURCE_PROP.key(),
Review Comment:
Fixed.
--
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]