mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
apache-kafka service: change default brokerId to -1
A default of 0 means that if you deploy two NixOS boxes with the default configuration, the second will fail because the brokerId was already in use. Using -1 instead tells it to pick one automatically at first start.
This commit is contained in:
parent
ca8ab806bb
commit
eebee95176
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ in {
|
|||
|
||||
brokerId = mkOption {
|
||||
description = "Broker ID.";
|
||||
default = 0;
|
||||
default = -1;
|
||||
type = types.int;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue