Subject: | AdminUtils: Managing separate Kafka brokers under a shared Zookeeper |
Date: | Tue, 22 Nov 2016 16:55:05 +0000 |
To: | "bug-Kafka [...] rt.cpan.org" <bug-Kafka [...] rt.cpan.org> |
From: | Alberto Antenangeli <Alberto.Antenangeli [...] macquarie.com> |
Using Kafka 2.11-0.10.1.0
cat /proc/version
Linux version 2.6.18-400.1.1.el5 (mockbuild@x86-012.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)) #1 SMP Sun Dec 14 06:01:17 EST 2014
java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
Issue: I would like to start two independent Kafka brokers that share the same Zookeeper instance. If I use AdminUtils to, for example, create a topic, there is no way to specify which Kafka broker I want the topic to be created - they seem to be randomly created under one of the brokers.
This email and any attachment is confidential. If you are not the intended recipient, please delete this message. Macquarie does not guarantee the integrity of any emails or attachments. For important disclosures and information about the incorporation and regulated status of Macquarie Group entities please see: www.macquarie.com/disclosures