cppkafka icon indicating copy to clipboard operation
cppkafka copied to clipboard

How to set up kafka to connect with server

Open weifangfang0626 opened this issue 6 years ago • 2 comments
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.

weifangfang0626 avatar Apr 01 '19 06:04 weifangfang0626

REST server? I'm not sure what you're talking about, would you mind expanding a bit?

mfontanini avatar Apr 01 '19 16:04 mfontanini

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.

csfreebird avatar Apr 04 '19 09:04 csfreebird