You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a simple example using _example_KafkaConsumer_Simple and example_KafkaProducer_Simple, the latter works perfectly, but it seems that the consumer can never subscribe correctly.
In function KafkaConsumer::subscribe in KafkaConsumer.h, I'm confused about the value of the variable _pendingEvent. So I use dbg, and found that the value of !_pendingEvent in line503 seems uncorrect, so KAFKA_API_DO_LOG(Log::Level::Notice, "subscribed, topics[%s]", topicsStr.c_str()); will never be executed, and the function KafkaConsumer::subscribe will never return, causing core dumped evetually.
So is this my problem or ....
Looking forward to your reply.
The text was updated successfully, but these errors were encountered:
I am running a simple example using
_example_KafkaConsumer_Simple
andexample_KafkaProducer_Simple
, the latter works perfectly, but it seems that the consumer can never subscribe correctly.In function
KafkaConsumer::subscribe
inKafkaConsumer.h
, I'm confused about the value of the variable_pendingEvent
. So I use dbg, and found that the value of!_pendingEvent
in line503 seems uncorrect, soKAFKA_API_DO_LOG(Log::Level::Notice, "subscribed, topics[%s]", topicsStr.c_str());
will never be executed, and the functionKafkaConsumer::subscribe
will never return, causing core dumped evetually.So is this my problem or ....
Looking forward to your reply.
The text was updated successfully, but these errors were encountered: