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

Make it easier to configure a Flink state backend

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.26.0
    • runner-flink
    • None

    Description

      We should make it easier to configure a Flink state backend. At the moment, users have to either (1) configure the default state backend in their Flink cluster, or make sure (2a) they include the dependency in their Gradle/Maven project (e.g. "org.apache.flink:flink-statebackend-rocksdb_2.11:$flink_version" for RocksDB) (2b) set the state backend factory in the {{FlinkPipelineOptions}.

      The drawback of option (2) is that it only works in Java due to the factory specification being in Java.

      We can make it easier by simple adding pipeline options for the state backend name and the checkpoint directory which will be enough for configuring the state backend. We can add the RocksDB state backend as a default dependency.

      Attachments

        Activity

          People

            mxm Maximilian Michels
            mxm Maximilian Michels
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 4.5h
                4.5h