adobe-research / libkafka

A C++ client library for Apache Kafka v0.8+. Also includes C API.
Apache License 2.0
89 stars 51 forks source link

Looks like SimpleProducer cannot deal with kafka cluster with 3 partitions. #11

Closed zhichao-li closed 9 years ago

zhichao-li commented 9 years ago

Any clue on that? ProduceResponse.produceResponseTopicArray[0]:TopicNameBlock.topicName:test TopicNameBlock.subBlockArraySize:1 TopicNameBlock.subBlockArray[0]:0:3:-1:unknown topic or partition

zhichao-li commented 9 years ago

Not a bit thing, only we need to modify SimpleProducer to send to the correct partition, which is default to be 0 at the moment.