Created
October 12, 2019 20:07
-
-
Save michaeldejong/df43c945bc8cfda208556673deea3fa2 to your computer and use it in GitHub Desktop.
Notification on new valid config with Consultant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Consultant consultant = Consultant.builder().identifyAs("billing") | |
.onValidConfig(config -> { | |
log.info("Yay, we've got a new config!"); | |
}) | |
.build(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment