Skip to content

Commit 6d97e9b

Browse files
authored
Merge pull request #170 from companieshouse/feature/JU-89-java-21-migration
turn off kafka idempotence
2 parents 729c143 + e514ff0 commit 6d97e9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/resources/application.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ spring.data.mongodb.uri=${MONGODB_URL}
1616
spring.data.mongodb.field-naming-strategy=uk.gov.companieshouse.orders.api.model.NoIsSnakeCaseFieldNamingStrategy
1717

1818
spring.kafka.producer.bootstrap-servers: ${KAFKA_BROKER_ADDR}
19+
spring.kafka.producer.properties.enable.idempotence=false
1920

2021
feature.options.ordersSearchEndpointEnabled=${ORDERS_SEARCH_ENDPOINT_ENABLED:false}
2122
feature.options.multiItemBasketSearchEnabled=${ORDERS_SEARCH_MULTIBASKET_ENABLED:false}

0 commit comments

Comments
 (0)