Skip to content

Commit 88cefc4

Browse files
committed
Set default replication factor to -1 and fix test
* Replication factor 3 breaks the integration test. * Maybe it's better to use the defaults and override as it's specific to the deployment.
1 parent 9dec3fe commit 88cefc4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

event-logs-dedup/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ streams.cache-max-bytes-buffering=10485760
1818
streams.num-stream-threads=1
1919
streams.topology-optimization=all
2020
# replication factor -1 uses the broker defaults
21-
streams.replication-factor=3
21+
streams.replication-factor=-1
2222

2323
# Application-specific configuration
2424
dedup.input-topic=qubic-event-logs-incoming

event-logs-dedup/src/test/java/org/qubic/logs/dedup/DeduplicationApplicationIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
)
2828
@TestPropertySource(properties = {
2929
"streams.bootstrap-servers=${spring.embedded.kafka.brokers}",
30+
"streams.replication-factor=-1",
3031
"dedup.input-topic=log-in",
3132
"dedup.output-topic=log-out",
3233
"streams.state-dir=/tmp/${random.uuid}"

0 commit comments

Comments
 (0)