mfontanini / cppkafka

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

Add connect/closesocket callback? #250

Closed stevenylai closed 3 years ago

stevenylai commented 4 years ago

In my opinion, socket_cb is more useful if we can also override connect/close callbacks. so that we can put this in an event loop (using outq_len to decide if we need to POLLOUT)