You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by "Steve Blackmon (JIRA)" <ji...@apache.org> on 2015/04/12 19:55:12 UTC

[jira] [Created] (STREAMS-311) TwitterUserInformationProvider stalls with > 20 items provided

Steve Blackmon created STREAMS-311:
--------------------------------------

             Summary: TwitterUserInformationProvider stalls with > 20 items provided
                 Key: STREAMS-311
                 URL: https://issues.apache.org/jira/browse/STREAMS-311
             Project: Streams
          Issue Type: Bug
            Reporter: Steve Blackmon


The way parallelism is handled in TwitterUserInformationProvider can cause the provider to stall when more threads are created than the size of the execution service queue which is hard-coded to twenty.

The size of the execution service queue should equal the number of threads to ensure that startStream() does not block trying to add more threads, because until startStream() completes the local runtime does not poll readCurrent().





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)