Skip to content

Commit

Permalink
Test fix for producer idempotence
Browse files Browse the repository at this point in the history
Signed-off-by: Nithin <nithin.pankaj@walmart.com>
  • Loading branch information
nithin-pankaj committed May 30, 2024
1 parent b063d47 commit 67251bf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/test/resources/application-default-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ kafka:
event-listener:
ssl-enabled: false
brokerHost: localhost:9092
topic: test-publisher-event-topic
topic: test-publisher-event-topice
enable-idempotence: true
management:
endpoints:
web:
Expand Down Expand Up @@ -64,3 +65,5 @@ server:
servlet:
context-path: /hlf-rest-client
port: 8282
dedupe:
enable: false
4 changes: 4 additions & 0 deletions src/test/resources/application-per-partition-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ kafka:
ssl-enabled: false
brokerHost: localhost:9092
topic: test-publisher-event-topic
enable-idempotence: true
failed-message-listener:
brokerHost: localhost:9092
topic: test-consumer-dlt
ssl-enabled: false
enable-idempotence: true
management:
endpoints:
web:
Expand Down Expand Up @@ -69,3 +71,5 @@ server:
servlet:
context-path: /hlf-rest-client
port: 8282
dedupe:
enable: false
5 changes: 3 additions & 2 deletions src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ kafka:
event-listener:
brokerHost: localhost:9093
topic: hlf-offchain-topic


enable-idempotence: true
dedupe:
enable: false
---
spring:
profiles: intg
Expand Down

0 comments on commit 67251bf

Please sign in to comment.