Class AbstractMessageConsumerManager

    • Field Detail

      • SINK_INITIAL_SLEEP_TIME

        public static final java.lang.String SINK_INITIAL_SLEEP_TIME
        See Also:
        Constant Field Values
      • startupExecutor

        protected final java.util.concurrent.ExecutorService startupExecutor
      • waitForStartup

        public final java.util.concurrent.CompletableFuture<java.lang.Void> waitForStartup
    • Constructor Detail

      • AbstractMessageConsumerManager

        protected AbstractMessageConsumerManager()
    • Method Detail

      • startConsumingForModule

        protected abstract void startConsumingForModule​(SinkModule<?,​Message> module)
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • stopConsumingForModule

        protected abstract void stopConsumingForModule​(SinkModule<?,​Message> module)
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • unregisterAllConsumers

        public void unregisterAllConsumers()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getNumConsumerThreads

        public static int getNumConsumerThreads​(SinkModule<?,​?> module)
      • getStartupExecutor

        public java.util.concurrent.ExecutorService getStartupExecutor()