mfontanini / cppkafka

Modern C++ Apache Kafka client library (wrapper for librdkafka)
BSD 2-Clause "Simplified" License
587 stars 207 forks source link

What happens if Kafka was offline ? #311

Closed TheSharpOwl closed 11 months ago

TheSharpOwl commented 11 months ago

In case I got a producer in the code and it's sending messages but the Kafka server is offline (not the consumer), does it buffer stuff ? and if yes what is the limit ? and can that limit be set ?

seems to me yes it will store locally if I don't call flush() (but don't know the limit)

Please also correct me if I am wrong. Sorry if it's already answered because I tried to google it and couldn't find my answer.

mfontanini commented 11 months ago

cppkafka is a dumb wrapper over rdkafka. Please look at their documentation / ask this question in their bug tracker. Thanks!