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

ASF GitHub Bot commented on SAMZA-1084:
---------------------------------------

Github user navina closed the pull request at:

    https://github.com/apache/samza/pull/54


> User thread does not see errors from the processor thread when using the 
> StreamProcessor API
> --------------------------------------------------------------------------------------------
>
>                 Key: SAMZA-1084
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1084
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Navina Ramesh
>            Assignee: Navina Ramesh
>             Fix For: 0.13.0
>
>
> The current user model for StreamProcessor API allows the user to start 
> (asynchronous) and stop processor. awaitStart allows the user to wait until 
> the processor actually initializes and starts processing messages. There are 
> certain limitations to this API:
> 1. In case the processor fails during processing or prior to processing, the 
> error is not propagated to the user context. It is very hard to troubleshoot 
> and take action on error/shutdown.
> 2. There is also no way for the user to check the status of the processor.
> 3. (More of implementation detail than an API issue) Another issue is that we 
> are using an Executor to run the container in a separate thread. The 
> container uses another Executor to run the tasks. We need to understand the 
> performance impact of using 2 levels of Executors in a single StreamProcessor 
> instance. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to