Skip to content

Commit

Permalink
Fix local_shotover_broker_id in test configs (shotover#1765)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinweng-instaclustr authored and rukai committed Oct 8, 2024
1 parent 0db4f69 commit 5d64f8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shotover/src/transforms/kafka/sink_cluster/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,6 @@ impl KafkaSinkCluster {
// Take this response as base.
// Then iterate over all remaining combined responses and integrate them into the base.
let mut base = drain.next().unwrap();
base.invalidate_cache();

match base.frame() {
Some(Frame::Kafka(KafkaFrame::Response {
Expand All @@ -1534,6 +1533,8 @@ impl KafkaSinkCluster {
}
}

base.invalidate_cache();

Ok(base)
}

Expand Down

0 comments on commit 5d64f8c

Please sign in to comment.