You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by D C <dc...@gmail.com> on 2016/05/25 18:41:08 UTC
Separating internal and external traffic
I'm sure i can do this but I'm just not stumbling on the right
documentation anywhere. I have a handful of kafka servers that I am trying
to get ready for production. I'm trying separate the internal and external
network traffic, but I don't see how to do it.
Each host has two addresses.
10.x.y.z = default interface
192.168.x.y = private network seen only by the kafka nodes.
How can I tell kafka to make use of this?
Re: Separating internal and external traffic
Posted by Alex Loddengaard <al...@confluent.io>.
Hi there,
You can use the `listeners` config to tell Kafka which interfaces to listen
on. The `listeners` config also supports setting the port and protocol. You
may also want to set `advertised.listeners` if the `listeners` hostnames or
IPs aren't reachable by your clients.
Alex
On Wed, May 25, 2016 at 11:41 AM, D C <dc...@gmail.com> wrote:
> I'm sure i can do this but I'm just not stumbling on the right
> documentation anywhere. I have a handful of kafka servers that I am trying
> to get ready for production. I'm trying separate the internal and external
> network traffic, but I don't see how to do it.
>
> Each host has two addresses.
> 10.x.y.z = default interface
> 192.168.x.y = private network seen only by the kafka nodes.
>
> How can I tell kafka to make use of this?
>