Closed aschrijver closed 8 years ago
👍
It would be a nice improvement. Fancy a PR ?
I was on this project, so did it.
Thanks! I didn't see your pull request request. Sorry :)
I am about to release an extension of the service discovery with a new graphql-service
type (maybe tomorrow or the day after).
The project will be here: https://github.com/engagingspaces/vertx-graphql-service-discovery
Can't wait, it looks pretty cool!
Well, the code is there now. Still have to create some README lines, and more fun like that :)
Oh, BTW, I have two @Ignored
unit tests that I couldn't figure out. If you can spare a minute maybe the issue there. I am quite sure the code is okay, but the test is not (wrong use of Vert.x unit maybe).
Consuming and
announce
andusage
events is straightforward when service discovery creation and registration occur in the same object, but when passing the discovery instance around to other objects there is no way to determine on which addresses it is broadcasting events, because the usedServiceDiscoveryOptions
is not exposed on the discovery instance.True, you can externalize the addresses to known values, but this becomes unwieldy when having multiple service discovery instances. Therefore I would like to have the deployed options exposed on the service discovery instance.