cppkafka
cppkafka copied to clipboard
How to set up kafka to connect with server
trafficstars
When cppkafka does not send logs for a long time, the server will disconnect the kafka connection, causing the 500 error of the rest server when the kafka log is sent next time.
REST server? I'm not sure what you're talking about, would you mind expanding a bit?
She fixed the problem, after setting heartbeat, the timeout disappeared. we are using cppkafka in a C++ rest server to write log into kafka. This issue can be closed. Thanks.