Class ZookeeperConsumerNodeLoadRegistry

    • Constructor Summary

      Constructors 
      Constructor Description
      ZookeeperConsumerNodeLoadRegistry​(org.apache.curator.framework.CuratorFramework curator, SubscriptionIds subscriptionIds, pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths, java.lang.String currentConsumerId, java.lang.String clusterName, java.time.Duration interval, pl.allegro.tech.hermes.common.concurrent.ExecutorServiceFactory executorServiceFactory, java.time.Clock clock, pl.allegro.tech.hermes.common.metric.HermesMetrics metrics, int consumerLoadEncoderBufferSizeBytes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      pl.allegro.tech.hermes.consumers.supervisor.workload.weighted.ConsumerNodeLoad get​(java.lang.String consumerId)  
      SubscriptionLoadRecorder register​(pl.allegro.tech.hermes.api.SubscriptionName subscriptionName)  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ZookeeperConsumerNodeLoadRegistry

        public ZookeeperConsumerNodeLoadRegistry​(org.apache.curator.framework.CuratorFramework curator,
                                                 SubscriptionIds subscriptionIds,
                                                 pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths,
                                                 java.lang.String currentConsumerId,
                                                 java.lang.String clusterName,
                                                 java.time.Duration interval,
                                                 pl.allegro.tech.hermes.common.concurrent.ExecutorServiceFactory executorServiceFactory,
                                                 java.time.Clock clock,
                                                 pl.allegro.tech.hermes.common.metric.HermesMetrics metrics,
                                                 int consumerLoadEncoderBufferSizeBytes)