Uploaded image for project: 'Apache Gearpump'
  1. Apache Gearpump
  2. GEARPUMP-202 DSL improvement
  3. GEARPUMP-111

optimize Stream DSL broadcasting chained operations

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • streaming
    • None

    Description

      In Stream DSL, all broadcasting chained operations will be translated to individual tasks.

      For example,

      val stream = StreamApp.source(source, 1, "source")
      stream.filter(fn, "filter A")
      stream.filter(fn, "filter B")
      stream.filter(fn, "filter C")
      

      This will be translated to 1 SourceTask and 3 FilterTasks although it's possible for them to be done in 1 Task.

      Attachments

        Activity

          People

            mauzhang Manu Zhang
            mauzhang Manu Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: