-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: remoting-kafka-plugin
-
None
We may add another option which works without Zookeeper.
Â
One suggestion I have is that you might want to remove the requirement of connecting to ZooKeeper, which transitively means you canât create topics on the fly. Many people, me included, will have locked down Kafka instances with zk totally hidden from us, so creating ad hoc topics just isnât possible. Â After spending almost no time looking at it, Iâm guessing you could set a header to whatever you had the ad hoc topic named and then do a if (header[âagentNameâ] != âmyAgentNameâ) return; Â If youâre worried about it being too chatty, you could shard it and create topics jenkins-remote-01 -> jenkins-remote-99 and then hash the agent name into a number to determine which topic to use (youâd still have to filter, but youâd have significantly fewer âfalse messagesâ).