incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Morel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (S4-104) Current Stream pass the same event object to different targetPEs
Date Thu, 28 Feb 2013 18:13:15 GMT

    [ https://issues.apache.org/jira/browse/S4-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589740#comment-13589740
] 

Matthieu Morel commented on S4-104:
-----------------------------------

Marking for 0.7. 
Added related recommended practice in 0.6.0 documentation
                
> Current Stream pass the same event object to different targetPEs
> ----------------------------------------------------------------
>
>                 Key: S4-104
>                 URL: https://issues.apache.org/jira/browse/S4-104
>             Project: Apache S4
>          Issue Type: Bug
>    Affects Versions: 0.5.0, 0.6
>            Reporter: Aimee Cheng
>             Fix For: 0.7
>
>
> In Stream class:
> for (ProcessingElement pe : pes) {
>    pe.handleInputEvent(event);
> }
> It seems will cause problem if different PE share a same event object. Sometimes we only
need change a attribute of the event and then sent it again. But in current version, if one
PE changed the attribute of event, it will have impact on other PEs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message