Skip to content

Instantly share code, notes, and snippets.

@michaeldejong
Created October 12, 2019 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaeldejong/df43c945bc8cfda208556673deea3fa2 to your computer and use it in GitHub Desktop.
Save michaeldejong/df43c945bc8cfda208556673deea3fa2 to your computer and use it in GitHub Desktop.
Notification on new valid config with Consultant
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