Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xvello committed Nov 27, 2023
1 parent f9294f4 commit 8ddfce8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions capture/src/sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,11 @@ mod tests {
let handle = registry
.register("one".to_string(), Duration::seconds(30))
.await;
let limiter =
PartitionLimiter::new(NonZeroU32::new(10).unwrap(), NonZeroU32::new(10).unwrap());
let limiter = PartitionLimiter::new(
NonZeroU32::new(10).unwrap(),
NonZeroU32::new(10).unwrap(),
None,
);
let cluster = MockCluster::new(1).expect("failed to create mock brokers");
let config = config::KafkaConfig {
kafka_producer_linger_ms: 0,
Expand Down

0 comments on commit 8ddfce8

Please sign in to comment.