Skip to content

Commit

Permalink
nixos/local-kafka: always configure replication factor
Browse files Browse the repository at this point in the history
documentation recommends changing `extraProperties`,
which overrides the properties defined here,
which makes Kafka complains that the replication factor can't be applied
  • Loading branch information
minijackson committed Jan 11, 2024
1 parent 3ba438d commit 3b6984c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/phoebus/local-kafka.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# TODO: document replication setup
services.apache-kafka = {
logDirs = lib.mkDefault ["/var/lib/apache-kafka"];
extraProperties = lib.mkDefault ''
extraProperties = ''
offsets.topic.replication.factor=1
transaction.state.log.replication.factor=1
transaction.state.log.min.isr=1
Expand Down

0 comments on commit 3b6984c

Please sign in to comment.