Class ConsumerProcessFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConsumerProcess createProcess​(pl.allegro.tech.hermes.api.Subscription subscription, Signal startSignal, java.util.function.Consumer<pl.allegro.tech.hermes.api.SubscriptionName> onConsumerStopped)  
      • Methods inherited from class java.lang.Object

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

      • ConsumerProcessFactory

        public ConsumerProcessFactory​(Retransmitter retransmitter,
                                      ConsumerFactory consumerFactory,
                                      pl.allegro.tech.hermes.common.config.ConfigFactory configs,
                                      java.time.Clock clock)
    • Method Detail

      • createProcess

        public ConsumerProcess createProcess​(pl.allegro.tech.hermes.api.Subscription subscription,
                                             Signal startSignal,
                                             java.util.function.Consumer<pl.allegro.tech.hermes.api.SubscriptionName> onConsumerStopped)
        Specified by:
        createProcess in interface ConsumerProcessSupplier