I assume you did start a local Kafka cluster?

Besides that, the client docs might help:
https://docs.confluent.io/current/clients/

They contain examples for librdkafka, too.

Otherwise, your question is hard to answer as there is not enough
information.


-Matthias

On 2/8/18 3:44 PM, Andy wrote:
> I am Kafka beginner.
> I have compiled under Windows and Visual Studio 2015 librdkafka and
> cppkafka .
> I have two examples: kafka_consumer.cpp and kafka_producer.cpp.
> I try:
>> producer -b 127.0.0.1:9092 -t topic
>> consumer -b 127.0.0.1:9092 -t topic -g group
> but is bad connection
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to