Skip to content

Commit

Permalink
build: update kafka client (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
venikkin authored Mar 18, 2024
1 parent 9334b90 commit 868875a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class KafkaErrorServiceTest {
val counter = AtomicInteger(0)
Mockito.`when`(producer.send(ArgumentMatchers.any<ProducerRecord<ByteArray, ByteArray>>())).then {
counter.incrementAndGet()
FutureRecordMetadata(null, 0, RecordBatch.NO_TIMESTAMP, 0, 0, 0, SystemTime())
FutureRecordMetadata(null, 0, RecordBatch.NO_TIMESTAMP, 0, 0, SystemTime())
}
val dlqService = KafkaErrorService(producer, ErrorService.ErrorConfig(fail=false,dlqTopic = "dlqTopic"), { s, e -> })
dlqService.report(listOf(dlqData()))
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
<kotlin.version>1.9.10</kotlin.version>
<kotlin.coroutines.version>1.7.3</kotlin.coroutines.version>
<neo4j.version>4.4.25</neo4j.version>
<kafka.version>2.6.3</kafka.version>
<!-- 3.4 is the minimum version for CVE-2023-25194 -->
<kafka.version>3.4.1</kafka.version>
<!-- Keep it at 2.14 as future versions cause problems with neo4j procedure framework -->
<jackson.version>2.14.3</jackson.version>
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
Expand Down

0 comments on commit 868875a

Please sign in to comment.