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

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

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

    
https://github.com/apache/incubator-apex-malhar/pull/167#discussion_r49651581
  
    --- Diff: 
kafka/src/main/java/org/apache/apex/malhar/kafka/AbstractKafkaPartitioner.java 
---
    @@ -257,13 +257,13 @@ public boolean equals(Object o)
           }
           PartitionMeta that = (PartitionMeta)o;
           return Objects.equals(cluster, that.cluster) &&
    -        Objects.equals(topicPartition, that.topicPartition);
    +        Objects.equals(getTopicPartition(), that.getTopicPartition());
    --- End diff --
    
    instead of comparing topicPartition object, why not compare topic and 
partitionId?


> ArrayOutOfBoundary error in One_To_Many Partitioner for 0.9 kafka input 
> operator
> --------------------------------------------------------------------------------
>
>                 Key: APEXMALHAR-1970
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-1970
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Siyuan Hua
>            Assignee: Siyuan Hua
>             Fix For: 3.4.0
>
>
> Should have the same support as found in the 0.8.x implementation.



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

Reply via email to