Skip to content

Commit

Permalink
Upgrade to Kafka 3.8 and Avro 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Jan 7, 2025
1 parent 5f2389d commit 40318f6
Show file tree
Hide file tree
Showing 33 changed files with 139 additions and 143 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void shouldForwardRecoverableException(final SoftAssertions softly) {
.add(1, "foo"))
.hasCause(throwable);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -136,7 +136,7 @@ void shouldCaptureKeyValueMapperError(final SoftAssertions softly) {
.add(1, "foo")
.add(2, "bar");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -179,7 +179,7 @@ void shouldHandleNullInput(final SoftAssertions softly) {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand All @@ -204,7 +204,7 @@ void shouldHandleErrorOnNullInput(final SoftAssertions softly) {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -241,7 +241,7 @@ void shouldHandleNullKeyValue(final SoftAssertions softly) {
.withValueSerde(STRING_SERDE)
.add(2, "bar");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void close() {
.add(1, "foo"))
.hasCause(throwable);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -206,7 +206,7 @@ public void close() {
.add(2, "bar")
.add(3, "baz");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -266,7 +266,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -312,7 +312,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -355,7 +355,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -410,7 +410,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(2, "bar");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -456,7 +456,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(2, "bar");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public void close() {
.add(1, "foo")
.add(2, "bar");
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -251,7 +251,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -293,7 +293,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void close() {
.add(1, "foo")
.add(2, "bar");
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -254,7 +254,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -296,7 +296,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void shouldForwardRecoverableException(final SoftAssertions softly) {
.add(1, "foo"))
.hasCause(throwable);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -134,7 +134,7 @@ void shouldCaptureKeyValueMapperError(final SoftAssertions softly) {
.add(1, "foo")
.add(2, "bar");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -176,7 +176,7 @@ void shouldHandleNullInput(final SoftAssertions softly) {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand All @@ -202,7 +202,7 @@ void shouldHandleErrorOnNullInput(final SoftAssertions softly) {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -238,7 +238,7 @@ void shouldHandleNullKeyValue(final SoftAssertions softly) {
.withValueSerde(STRING_SERDE)
.add(2, "bar");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void close() {
.add(1, "foo"))
.hasCause(throwable);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -197,7 +197,7 @@ public void close() {
.add(1, "foo")
.add(2, "bar");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -262,7 +262,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -308,7 +308,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -366,7 +366,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -420,7 +420,7 @@ public void close() {
.add(2, "bar")
.add(3, "baz");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void close() {
.add(1, "foo"))
.hasCause(throwable);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -203,7 +203,7 @@ public void close() {
.add(2, "bar")
.add(3, "baz");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -272,7 +272,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -318,7 +318,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -375,7 +375,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -427,7 +427,7 @@ public void close() {
.add(2, "bar")
.add(3, "baz");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -485,7 +485,7 @@ public void close() {
.add(2, "bar")
.add(3, "baz");
final List<ProducerRecord<Double, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(DOUBLE_SERDE)
.withKeySerde(DOUBLE_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public void close() {
.add(1, "foo")
.add(2, "bar");
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -260,7 +260,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -306,7 +306,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -364,7 +364,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(2, "bar");
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public void close() {
.add(1, "foo")
.add(2, "bar");
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -252,7 +252,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -298,7 +298,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(null, null);
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down Expand Up @@ -353,7 +353,7 @@ public void close() {
.withValueSerde(STRING_SERDE)
.add(2, "bar");
final List<ProducerRecord<Integer, Long>> records = this.topology.streamOutput(OUTPUT_TOPIC)
.withKeySerde(INTEGER_SERDE)
.withKeySerde(INTEGER_SERDE)
.withValueSerde(LONG_SERDE)
.toList();
softly.assertThat(records)
Expand Down
Loading

0 comments on commit 40318f6

Please sign in to comment.