Skip to content

Commit c3e09d6

Browse files
Merge pull request #745 from swimos/dependabot/cargo/rdkafka-0.37
2 parents 726b398 + fde3f66 commit c3e09d6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ num = "0.4"
186186
smol_str = "0.3.1"
187187
http-body-util = "0.1.2"
188188
hyper-util = "0.1.5"
189-
rdkafka = "0.36"
189+
rdkafka = "0.37"
190190
apache-avro = "0.17.0"
191191
time = "0.3.36"
192192
rumqttc = "0.24.0"

server/swimos_connector_kafka/src/facade.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ use std::{
2020

2121
use crate::config::KafkaLogLevel;
2222
use futures::{Future, FutureExt};
23+
use rdkafka::consumer::BaseConsumer;
2324
use rdkafka::{
2425
config::RDKafkaLogLevel,
2526
consumer::{CommitMode, Consumer, ConsumerContext, Rebalance, StreamConsumer},
@@ -146,11 +147,11 @@ impl ClientContext for KafkaClientContext {
146147
}
147148

148149
impl ConsumerContext for KafkaClientContext {
149-
fn pre_rebalance(&self, rebalance: &Rebalance) {
150+
fn pre_rebalance(&self, _base_consumer: &BaseConsumer<Self>, rebalance: &Rebalance) {
150151
info!("Pre rebalance {:?}", rebalance);
151152
}
152153

153-
fn post_rebalance(&self, rebalance: &Rebalance) {
154+
fn post_rebalance(&self, _base_consumer: &BaseConsumer<Self>, rebalance: &Rebalance) {
154155
info!("Post rebalance {:?}", rebalance);
155156
}
156157

0 commit comments

Comments
 (0)