From 40281ce33f907ea6abf221caacc148d48d3237fa Mon Sep 17 00:00:00 2001 From: Javier Date: Wed, 28 Mar 2018 22:21:37 -0700 Subject: [PATCH] note a potential consideration when configuring brokers to the documentation --- config/config.exs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/config.exs b/config/config.exs index 816b98cf..ccce88f2 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,7 +1,10 @@ use Mix.Config config :kafka_ex, - # a list of brokers to connect to in {"HOST", port} format + # A list of brokers to connect to in {"HOST", port} format. If you receive :leader_not_available + # errors when producing messages, it may be necessary to modify "advertised.host.name" in the + # server.properties file. + # In the case below you would set "advertised.host.name=localhost" brokers: [ {"localhost", 9092}, {"localhost", 9093},