You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/05 06:42:04 UTC

[GitHub] [pulsar] liudezhi2098 opened a new issue #7178: using pulsar-client-kafka_0_9 version to consume partition topic, will throw Exception

liudezhi2098 opened a new issue #7178:
URL: https://github.com/apache/pulsar/issues/7178


   **Describe the bug**
   When using pulsar-client-kafka_0_9 version to consume partition topic, will throw Exception
   
   
   ```bash
   Exception in thread "main" java.lang.ClassCastException: org.apache.pulsar.client.impl.TopicMessageIdImpl cannot be cast to org.apache.pulsar.client.impl.MessageIdImpl
           at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:317)
           at com.tencent.tdmq.kafka.demo.KafkaApi0_9.consumer(KafkaApi0_9.java:87)
           at com.tencent.tdmq.kafka.demo.KafkaApi0_9.main(KafkaApi0_9.java:113)
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] liudezhi2098 closed issue #7178: using pulsar-client-kafka_0_9 version to consume partition topic, will throw Exception

Posted by GitBox <gi...@apache.org>.
liudezhi2098 closed issue #7178:
URL: https://github.com/apache/pulsar/issues/7178


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org