mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
enabling kafka
This commit is contained in:
@@ -3,10 +3,17 @@ let
|
||||
in
|
||||
{
|
||||
services.apache-kafka = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
settings = {
|
||||
listeners = [ "PLAINTEXT://localhost:9092" ];
|
||||
"log.dirs" = [ vars.kafka ];
|
||||
"num.partitions" = 6;
|
||||
"default.replication.factor" = 1;
|
||||
"log.retention.hours" = 168;
|
||||
"log.retention.bytes" = 10737418240;
|
||||
"log.segment.bytes" = 1073741824;
|
||||
"log.cleanup.policy" = "delete";
|
||||
"auto.create.topics.enable" = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user