GitHub user ilganeli opened a pull request:

    https://github.com/apache/incubator-apex-malhar/pull/309

    [APEXMALHAR-2106][WIP] Support multiple streams in StreamMerger

    * Created a module which creates a binary tree of StreamMerger operators to 
support merging multiple streams
    * StreamMerger operators are presently allocated as CONTAINER_LOCAL. I 
would like for them to be THREAD_LOCAL but I was getting the following error 
when attempting this:
    ```Caused by: javax.validation.ValidationException: Locality THREAD_LOCAL 
invalid for operator OperatorMeta{name=Merger_Tier_0_#_0, 
operator=StreamMerger{name=null}, attributes={}} with multiple input streams as 
they origin from different owner OIO operators
    ```
    
    * An example application is included but i'm still working on further 
tests. 


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ilganeli/incubator-apex-malhar 
APEXMALHAR-2106F

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-apex-malhar/pull/309.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #309
    
----
commit 00e3b274cdecfb254af086bfc1458780a130273a
Author: Ilya Ganelin <[email protected]>
Date:   2016-06-02T21:56:39Z

    Created a module to merge multiple streams into a single stream. Created a 
test application demonstrating this in action. Still need to add more tests.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to