Skip to content

Commit 868875a

Browse files
authored
build: update kafka client (#619)
1 parent 9334b90 commit 868875a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

common/src/test/kotlin/streams/service/sink/errors/KafkaErrorServiceTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class KafkaErrorServiceTest {
2424
val counter = AtomicInteger(0)
2525
Mockito.`when`(producer.send(ArgumentMatchers.any<ProducerRecord<ByteArray, ByteArray>>())).then {
2626
counter.incrementAndGet()
27-
FutureRecordMetadata(null, 0, RecordBatch.NO_TIMESTAMP, 0, 0, 0, SystemTime())
27+
FutureRecordMetadata(null, 0, RecordBatch.NO_TIMESTAMP, 0, 0, SystemTime())
2828
}
2929
val dlqService = KafkaErrorService(producer, ErrorService.ErrorConfig(fail=false,dlqTopic = "dlqTopic"), { s, e -> })
3030
dlqService.report(listOf(dlqData()))

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
<kotlin.version>1.9.10</kotlin.version>
5555
<kotlin.coroutines.version>1.7.3</kotlin.coroutines.version>
5656
<neo4j.version>4.4.25</neo4j.version>
57-
<kafka.version>2.6.3</kafka.version>
57+
<!-- 3.4 is the minimum version for CVE-2023-25194 -->
58+
<kafka.version>3.4.1</kafka.version>
5859
<!-- Keep it at 2.14 as future versions cause problems with neo4j procedure framework -->
5960
<jackson.version>2.14.3</jackson.version>
6061
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>

0 commit comments

Comments
 (0)