Skip to content

Commit

Permalink
Merge pull request #745 from swimos/dependabot/cargo/rdkafka-0.37
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Dec 11, 2024
2 parents 726b398 + fde3f66 commit c3e09d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ num = "0.4"
smol_str = "0.3.1"
http-body-util = "0.1.2"
hyper-util = "0.1.5"
rdkafka = "0.36"
rdkafka = "0.37"
apache-avro = "0.17.0"
time = "0.3.36"
rumqttc = "0.24.0"
Expand Down
5 changes: 3 additions & 2 deletions server/swimos_connector_kafka/src/facade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use std::{

use crate::config::KafkaLogLevel;
use futures::{Future, FutureExt};
use rdkafka::consumer::BaseConsumer;
use rdkafka::{
config::RDKafkaLogLevel,
consumer::{CommitMode, Consumer, ConsumerContext, Rebalance, StreamConsumer},
Expand Down Expand Up @@ -146,11 +147,11 @@ impl ClientContext for KafkaClientContext {
}

impl ConsumerContext for KafkaClientContext {
fn pre_rebalance(&self, rebalance: &Rebalance) {
fn pre_rebalance(&self, _base_consumer: &BaseConsumer<Self>, rebalance: &Rebalance) {
info!("Pre rebalance {:?}", rebalance);
}

fn post_rebalance(&self, rebalance: &Rebalance) {
fn post_rebalance(&self, _base_consumer: &BaseConsumer<Self>, rebalance: &Rebalance) {
info!("Post rebalance {:?}", rebalance);
}

Expand Down

0 comments on commit c3e09d6

Please sign in to comment.