Skip to content

Implicit Configuration replacement doubts #310

Discussion options

You must be logged in to vote

Hello @ShadyD45

  1. Config replacements happens if persisted version < provided version. I have rewrote documentation to be more clearr.

  2. Implicit replacement initially was designed for cases where configuration is stored inside config files. For example imaging that you have some bucket with configuration that is stored in a properties file like this:

...
bucket.capacity=100
bucket.refill.period.seconds=60
bucket.refill.tokens=50
bucket.version=1
...

In case of in new version of application you want to change bucket configuration, you need just to update properties file:

...
bucket.capacity=150
bucket.refill.period.seconds=60
bucket.refill.tokens=50
bucket.version=2
...

It can be anot…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ShadyD45
Comment options

@vladimir-bukhtoyarov
Comment options

@ShadyD45
Comment options

@vladimir-bukhtoyarov
Comment options

@ShadyD45
Comment options

Answer selected by ShadyD45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants