Skip to content

Commit

Permalink
Merge branch 'main' into reuse-deser
Browse files Browse the repository at this point in the history
  • Loading branch information
SirCipher authored Dec 11, 2024
2 parents 34862a0 + c3e09d6 commit 3217459
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ tracing-subscriber = "0.3"
tracing-appender = "0.2"
base64 = "0.22"
num-traits = "0.2"
thiserror = "1.0"
thiserror = "2.0"
static_assertions = "1.1.0"
url = "2.1.1"
chrono = "0.4.31"
Expand Down Expand Up @@ -186,8 +186,8 @@ 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"
fluvio = "0.23.2"
fluvio = "0.24.0"
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 3217459

Please sign in to comment.