Skip to content

Commit

Permalink
Upgrade to Kafka 3.7 (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 authored Aug 19, 2024
1 parent ed36762 commit bdeb667
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,14 +322,16 @@ protected <K, V> TestTopology<K, V> with(
* Get the default serde of the key type in your application.
*/
private Serde<DefaultK> getDefaultKeySerde() {
return this.defaultKeySerde != null ? this.defaultKeySerde : this.getStreamsConfig().defaultKeySerde();
return this.defaultKeySerde != null ? this.defaultKeySerde
: (Serde<DefaultK>) this.getStreamsConfig().defaultKeySerde();
}

/**
* Get the default serde of the value type in your application.
*/
private Serde<DefaultV> getDefaultValueSerde() {
return this.defaultValueSerde != null ? this.defaultValueSerde : this.getStreamsConfig().defaultValueSerde();
return this.defaultValueSerde != null ? this.defaultValueSerde
: (Serde<DefaultV>) this.getStreamsConfig().defaultValueSerde();
}

/**
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.caching=true
org.gradle.parallel=true
junit5Version=5.10.2
junit4Version=4.13.2
confluentVersion=7.6.0
kafkaVersion=3.6.1
log4jVersion=2.23.0
confluentVersion=7.7.0
kafkaVersion=3.7.1
log4jVersion=2.23.1
org.gradle.jvmargs=-Xmx2048m

0 comments on commit bdeb667

Please sign in to comment.