diff --git a/config/dev.exs b/config/dev.exs index 85df554..f9b637b 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -49,6 +49,3 @@ config :phoenix, :stacktrace_depth, 20 # Initialize plugs at runtime for faster development compilation config :phoenix, :plug_init_mode, :runtime - -config :kafka_ex, - brokers: "localhost:9093,localhost:9094,localhost:9095" diff --git a/config/test.exs b/config/test.exs index 913563e..231cba3 100644 --- a/config/test.exs +++ b/config/test.exs @@ -15,3 +15,8 @@ config :phoenix, :plug_init_mode, :runtime config :kafka_ex, disable_default_worker: true + +System.put_env("KAFKA_BROKER1_HOST", "localhost") +System.put_env("KAFKA_BROKER2_HOST", "localhost") +System.put_env("KAFKA_BROKER3_HOST", "localhost") +System.put_env("KAFKA_BROKER_PORT", "9092")