shotover/shotover-proxy

kafka: handle produce with acks=0

Closed this issue · 0 comments

rukai commented

When a kafka produce message has the ack field set to 0, the server does not send a response.
This breaks shotovers assumption that every request has a corresponding response.

A possible solution is having Request { return_chan: None, .. } make the tx/rx tasks skip waiting for a response. In this case they would immediately return with a dummy message.