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

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

Github user abhishekagarwal87 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/601#discussion_r53569055
  
    --- Diff: external/storm-kafka/src/jvm/storm/kafka/PartitionManager.java ---
    @@ -126,7 +127,7 @@ public Map getMetricsDataMap() {
         }
     
         //returns false if it's reached the end of current batch
    -    public EmitState next(SpoutOutputCollector collector) {
    +    public EmitState next(SpoutOutputCollector collector, String 
emitStreamId) {
    --- End diff --
    
    what is the need of additional argument since spoutConfig is available to 
this class. stream name can be initialized once in the prepare phase itself. 


> 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