in sample-app/src/main/java/co/elastic/opamp/sample/MyEffectiveConfigState.java [8:13]
public void updateConfig(Opamp.AgentRemoteConfig remoteConfig) {
// Update the effective config
notifyObservers(); // This will ensure that the client will query this state to send the
// effective config in the next request.
}