Closed Sergey80 closed 6 years ago
It should work, do you have a reproducer?
Will prepare it today.
On Wed, Nov 22, 2017, 2:14 AM Clement Escoffier, notifications@github.com wrote:
It should work, do you have a reproducer?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vert-x3/vertx-config/issues/29#issuecomment-346263092, or mute the thread https://github.com/notifications/unsubscribe-auth/ADOsHrh4GnCuTO7BtEPHkrif3NJXBhZDks5s48nBgaJpZM4Qmqku .
Ping @Sergey80
Close due to inactivity. Please reopen if you still have the issue.
I would expect that this could that listens to the
my-microservice-config
's valuesHere I
Then if I change a value for the
my-microservice-config
then it would trigger the System.out.ptintln("123") output.This seems does not work.
Also (speaking about ConfigStoreOptions abstraction) seems we may not use .setScanPeriod(2000) since it come with pub-sub capabilities already so it would notify as it is changed.
Here is the code I use to test it: