Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
org.apache.hudi.utilities.sources.JsonKafkaSource#fetchNewData
if (totalNewMsgs <= 0)
{ return new InputBatch<>(Option.empty(), lastCheckpointStr.isPresent() ? lastCheckpointStr.get() : ""); }I think it should not be empty here, it should be
if (totalNewMsgs <= 0)
{ return new InputBatch<>(Option.empty(), lastCheckpointStr.isPresent() ? lastCheckpointStr.get() : CheckpointUtils.offsetsToStr(offsetRanges)); }Attachments
Issue Links
- links to