Interface RemoteConfigurationSource

All Known Implementing Classes:
FileRemoteConfigSource, HttpRemoteConfigurationSource, KubernetesRemoteConfigurationSource, PollingRemoteConfigurationSource

public interface RemoteConfigurationSource
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.fasterxml.jackson.databind.ObjectMapper
    configureMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
     
    io.confluent.telemetry.config.v2.remote.RemoteConfiguration
    Returns the latest received configuration from this source.
    void
    setConfigurationChangeCallback(Consumer<io.confluent.telemetry.config.v2.remote.RemoteConfiguration> callback)
    Registers a callback to be called when the remote configuration has changed
    default void
     
    default void
     
  • Method Details

    • configureMapper

      static com.fasterxml.jackson.databind.ObjectMapper configureMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
    • getConfig

      io.confluent.telemetry.config.v2.remote.RemoteConfiguration getConfig()
      Returns the latest received configuration from this source.
    • setConfigurationChangeCallback

      void setConfigurationChangeCallback(Consumer<io.confluent.telemetry.config.v2.remote.RemoteConfiguration> callback)
      Registers a callback to be called when the remote configuration has changed
    • start

      default void start()
    • stop

      default void stop()