Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9559

Add ExecutorStream to execute stored Streaming Expressions

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 6.3
    • None
    • None

    Description

      The ExecutorStream will wrap a stream which contains Tuples with Streaming Expressions to execute. By default the ExecutorStream will look for the expression in the expr_s field in the Tuples.

      The ExecutorStream will have an internal thread pool so expressions can be executed in parallel on a single worker. The ExecutorStream can also be wrapped by the parallel function to partition the Streaming Expressions that need to be executed across a cluster of worker nodes.

      Sample syntax:

      daemon(executor(threads=10, topic(storedExpressions, fl="expr_s", ...)))
      

      In the example above a daemon wraps an executor which wraps a topic that is reading stored Streaming Expressions. The daemon will call the executor at intervals which will execute all the expressions retrieved by the topic.

      Attachments

        1. SOLR-9559.patch
          21 kB
          Joel Bernstein
        2. SOLR-9559.patch
          20 kB
          Joel Bernstein
        3. SOLR-9559.patch
          15 kB
          Joel Bernstein
        4. SOLR-9559.patch
          8 kB
          Joel Bernstein

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jbernste Joel Bernstein
            jbernste Joel Bernstein
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment