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

ASF GitHub Bot commented on APEXMALHAR-2121:
--------------------------------------------

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

    https://github.com/apache/apex-malhar/pull/323#discussion_r67717267
  
    --- Diff: 
contrib/src/main/java/com/datatorrent/contrib/kafka/AbstractKafkaInputOperator.java
 ---
    @@ -203,6 +204,14 @@ public AbstractKafkaInputOperator()
        */
       protected abstract void emitTuple(Message message);
    --- End diff --
    
    It is good to change this method signature, but can we do that? 


> KafkaInputOperator emitTuple method should be able to emit more than just 
> message
> ---------------------------------------------------------------------------------
>
>                 Key: APEXMALHAR-2121
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2121
>             Project: Apache Apex Malhar
>          Issue Type: Improvement
>            Reporter: Priyanka Gugale
>            Assignee: Priyanka Gugale
>            Priority: Minor
>
> AbstractKafkaInputOperator in malhar-contrib operator had emitTuple method 
> with parameter as "Message". User can't extend this method to access more 
> kafka parameters other than messages.
> We should have a method to access to "KafkaMessage" so that user can choose 
> from multiple fields which he/she wants to emit.



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

Reply via email to