Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-1006

deltastreamer use kafkaSource with offset reset strategy: latest can't consume data

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              Litianye Tianye Li
              liujinhui liujinhui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: