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

Add support for slowly changing streaming broadcast variables

    XMLWordPrintableJSON

Details

    Description

      With "slow changing inputs", I mean auxiliary data sets that change over time. Think about dictionaries, set of rules, etc that are updates at slow rates and then applied onto another stream.

      They are a bit like broadcast variables in the DataSet API, but not constant over the entire lifetime of the job.

      One can currently approximate this via connected streams:

      DataStream<Rule> rules = ...
      DataStream<Event> events = ...
      
      rules.broadcast().connect(events).flatMap(...);
      

      The disadvantage is that one has no control that the broadcasted "rules" input is materialized in the function before the "events" are delivered.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sewen Stephan Ewen
              Votes:
              7 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: