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

ASF GitHub Bot commented on STORM-917:
--------------------------------------

Github user abhishekagarwal87 commented on the pull request:

    https://github.com/apache/storm/pull/601#issuecomment-186855234
  
    Thanks for doing this Anishek. My comments
    Kafka spout should declare the stream id in output declaration. 
    ```
    declarer.declare(streamID, _spoutConfig.scheme.getOutputFields()
    ```
    I would prefer the streamID to come from the scheme. More than often the 
stream on which data is to be sent to, depends on the input data. Since scheme 
knows about the data, it can also determine the stream. This makes more sense 
when you think of multiple output streams from same spout. The only downside I 
see is that the scheme interface will change and that might translate into 
compatibility issues. Nonetheless this PR is a good start. 


> Ability to emit messages from a kafka spout to a specific stream 
> -----------------------------------------------------------------
>
>                 Key: STORM-917
>                 URL: https://issues.apache.org/jira/browse/STORM-917
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-kafka
>            Reporter: anishek
>             Fix For: 1.0.0
>
>
> Today even if we have multiple spouts in storm they will all emit on the same 
> "default" stream. Having an ability to configure the stream that a kafka 
> spout emits to would be great. By default should emit to the "default" stream



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

Reply via email to