Hello everyone,
I have recently been experimenting into adding clustering functionality to an existing Vert.X application with ZooKeeper. I want the existing messaging that is using the Event Bus to stay local to the node and not be exposed to the cluster at all.
While playing around with a local setup I have noticed that after converting all my consumer to localConsumers, the event bus addresses are still being published to the __vertx.subs node; I see even all NetSocket write IDs that my application opens being published to ZooKeeper. This is not what I expected. If an address is being consumed locally only I would expect it would not be published to ZooKeeper. Also I have noticed that subscription addresses are not cleaned up after the fact, which is leaving many write IDs published as sockets come and go, which I expect could create unnecessary traffic on ZooKeeper.
Is my understanding correct of what local consumers correct? Is there a way to achieve that, where I can explicitly ensure what parts of the Event Bus can go through the cluster and which ones are local only?
Thank you,
Pepe