Has anyone used Vert.x Config?
The Vertx constructor accepts a VertxOptions. I would like those options to be configurable and retrieved via Vertx Config.
To create a ConfigRetriever however, I need a Vertx instance.
Do you see the circular dependency there?
It apparently works when I pass in "Vertx.vertx()" to ConfigRetriever, which would give me a different (and disposable) Vertx instance.
That seems fine except that I also would like my ConfigRetriever to listen for changes. Underneath, it uses this same Vertx instance. So it's not disposable after all.
Do you guys see any issues with me having two difference Vertx instances? One for this periodic scan of the configuration stores and another for everything else in my application?
What are the implications of doing that?
Thanks!
Iggy (vert.x newbie, please be kind)