Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32732

auto offset reset should be exposed to user

    XMLWordPrintableJSON

Details

    Description

      // code placeholder
      maybeOverride(
              ConsumerConfig.AUTO_OFFSET_RESET_CONFIG,
              startingOffsetsInitializer.getAutoOffsetResetStrategy().name().toLowerCase(),
              true); 

      now flink override the auto.offset.reset with the scan.startup.mode config, and user's explicit config does not take effect. I think maybe we should expose this to customer?

       

      I think after consuming kafka records from earliest to latest, the scan.startup.mode should no longer influence the kafka scan behave. So I suggest change the override to false.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zhoujira86 xiaogang zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: