From 2eaeb566606932a442a4baa3d880cc1a9b129ec6 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Fri, 16 Aug 2024 13:36:22 +0200 Subject: [PATCH] Upgrade to Kafka 3.7 --- .../bakdata/fluent_kafka_streams_tests/TestTopology.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fluent-kafka-streams-tests/src/main/java/com/bakdata/fluent_kafka_streams_tests/TestTopology.java b/fluent-kafka-streams-tests/src/main/java/com/bakdata/fluent_kafka_streams_tests/TestTopology.java index 2af58f2..d1ff091 100644 --- a/fluent-kafka-streams-tests/src/main/java/com/bakdata/fluent_kafka_streams_tests/TestTopology.java +++ b/fluent-kafka-streams-tests/src/main/java/com/bakdata/fluent_kafka_streams_tests/TestTopology.java @@ -322,14 +322,16 @@ protected TestTopology with( * Get the default serde of the key type in your application. */ private Serde getDefaultKeySerde() { - return this.defaultKeySerde != null ? this.defaultKeySerde : this.getStreamsConfig().defaultKeySerde(); + return this.defaultKeySerde != null ? this.defaultKeySerde + : (Serde) this.getStreamsConfig().defaultKeySerde(); } /** * Get the default serde of the value type in your application. */ private Serde getDefaultValueSerde() { - return this.defaultValueSerde != null ? this.defaultValueSerde : this.getStreamsConfig().defaultValueSerde(); + return this.defaultValueSerde != null ? this.defaultValueSerde + : (Serde) this.getStreamsConfig().defaultValueSerde(); } /**