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

Sriharsha Chintalapani commented on STORM-1737:
-----------------------------------------------

The above issue due to the api change from new kafka consumer 0.9 to 0.10. 
Given that Kafka Consumer interface marked as unstable we should make this 
change on our side by updating the pom.xml kafka.version to 0.10 and make the 
required api changes in kafka spout.

> storm-kafka-client has compilation errors with Apache Kafka 0.10
> ----------------------------------------------------------------
>
>                 Key: STORM-1737
>                 URL: https://issues.apache.org/jira/browse/STORM-1737
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Sriharsha Chintalapani
>            Assignee: Hugo Louro
>            Priority: Blocker
>             Fix For: 1.0.2
>
>
> when compiled with Apache Kafka 0.10 branch getting following errors
> {code}
> [ERROR] 
> /Users/harsha/code/hwx/storm/external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/KafkaSpout.java:[163,51]
>  incompatible types: org.apache.kafka.common.TopicPartition cannot be 
> converted to java.util.Collection<org.apache.kafka.common.TopicPartition>
> [ERROR] 
> /Users/harsha/code/hwx/storm/external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/KafkaSpout.java:[166,45]
>  incompatible types: org.apache.kafka.common.TopicPartition cannot be 
> converted to java.util.Collection<org.apache.kafka.common.TopicPartition>
> [ERROR] 
> /Users/harsha/code/hwx/storm/external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/KafkaSpout.java:[175,51]
>  incompatible types: org.apache.kafka.common.TopicPartition cannot be 
> converted to java.util.Collection<org.apache.kafka.common.TopicPartition>
> [ERROR] 
> /Users/harsha/code/hwx/storm/external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/KafkaSpout.java:[177,45]
>  incompatible types: org.apache.kafka.common.TopicPartition cannot be 
> converted to java.util.Collection<org.apache.kafka.common.TopicPartition>
> [ERROR] 
> /Users/harsha/code/hwx/storm/external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/KafkaSpout.java:[252,41]
>  incompatible types: org.apache.kafka.common.TopicPartition cannot be 
> converted to java.util.Collection<org.apache.kafka.common.TopicPartition>
> {code}



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

Reply via email to