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:
Dan Peebles 2017-01-24 12:32:22 -05:00
parent ca8ab806bb
commit eebee95176

View file

@ -38,7 +38,7 @@ in {
brokerId = mkOption {
description = "Broker ID.";
default = 0;
default = -1;
type = types.int;
};