rewrite ProduceResponse::node_endpoints and PartitionProduceResponse::current_leader to avoid pointing at the real kafka broker.
The logic can go in KafkaSinkCluster::process_responses.
We should be able to just clear these values from the produce response and then call Message::invalidate_cache()
rewrite
ProduceResponse::node_endpoints
andPartitionProduceResponse::current_leader
to avoid pointing at the real kafka broker. The logic can go inKafkaSinkCluster::process_responses
. We should be able to just clear these values from the produce response and then callMessage::invalidate_cache()
There are some extra details in: https://github.com/shotover/shotover-proxy/issues/1665