Hi!
I'm currently evaluating vert.x as a library for my next project. I have a question that's been bugging me during the review of eventbus principles and verticle isolation..
There is a use case where there are several nodes, each running their own copy of the same "I/O service" that I would prefer to be a busmod and each also runs a busmod that does application level logic. Each I/O service does talks to the hardware on that node, so it is important which one receives which command. I would like to send messages from the application busmods to the I/O service busmods, but on the same node only.
The way I see it that would only be possible if:
- each I/O service had the node id of some sort embedded in its address
- the eventbus send options would include something to disable clustering
Are there any other options I didn't consider?
I like the idea of isolated verticles talking via JSON only and I like the ad-hoc networking nature of hazelcast clustering below it. Together you have what appears to be a very nice library to work on and to structure microservices with. But I need to resolve the above, any other takers on how to tackle this?