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

KafkaIO's EOS mode does not work with FlinkRunner

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12.0
    • Component/s: io-java-kafka, runner-flink
    • Labels:
      None

      Description

      KafkaIO has a validation check which whitelists 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

              • Assignee:
                mxm Maximilian Michels
                Reporter:
                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