Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6751

KafkaIO's EOS mode does not work with FlinkRunner

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.12.0
    • io-java-kafka, runner-flink
    • None

    Description

      KafkaIO has a validation check to allow only certain runners capable of provide exactly-once semantics:

              if ("org.apache.beam.runners.direct.DirectRunner".equals(runner)
                  || runner.startsWith("org.apache.beam.runners.dataflow.")
                  || runner.startsWith("org.apache.beam.runners.spark.") {
      ...
      

      The Flink supports exactly-once checkpointing but the Flink Runner can't utilize it in the way KafkaIO intends it.

      I think we should remove the check in favor of checking for translation of @RequiresStableInput. Changes to KafkaIO might have to be made to support EOS efficiently with the Flink Runner.

      Attachments

        Issue Links

          Activity

            People

              mxm Maximilian Michels
              mxm Maximilian Michels
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10h 20m
                  10h 20m