Class CoordinatorDynamicConfigSyncer

java.lang.Object
org.apache.druid.server.http.CoordinatorDynamicConfigSyncer

public class CoordinatorDynamicConfigSyncer extends Object
Updates all brokers with the latest coordinator dynamic config.
  • Constructor Details

  • Method Details

    • queueBroadcastConfigToBrokers

      public void queueBroadcastConfigToBrokers()
      Queues the configuration sync to the brokers without blocking the calling thread.
    • getInSyncBrokers

      public Set<BrokerSyncStatus> getInSyncBrokers()
      Returns the set of Brokers which have been updated with the latest CoordinatorDynamicConfig.
    • onLeaderStart

      public void onLeaderStart()
      Schedules a periodic sync with brokers when the coordinator becomes the leader.
    • onLeaderStop

      public void onLeaderStop()
      Stops the sync when coordinator stops being the leader.
    • stop

      public void stop()