Has someone deployed Kafka on their NixOS system? I could use some help doing it the "nix" way

Open link in next tab

How to setup Kafka Server on Nixos

https://discourse.nixos.org/t/how-to-setup-kafka-server-on-nixos/45055?u=yanall-boutros

I found some settings on NixOS Search I’ve added these to my configuration.nix: environment.systemPackages = with pkgs; [ apacheKafka ]; services.apache-kafka = { enable = true; settings = { "broker.id" = 0; "log.dirs" = [ "/tmp/kafka_logs" ]; listeners = ["PLAINTEXT://:9092"]; }; }; Installing “apacheKafka” updates my system with kafka-server-start.sh, and if I imperatively execute kafka-server-start.sh server.properties then I can create topics an...

How to setup Kafka Server on Nixos