Class ImmediateTriggerer

java.lang.Object
org.apache.pulsar.io.batchdiscovery.ImmediateTriggerer
All Implemented Interfaces:
org.apache.pulsar.io.core.BatchSourceTriggerer

public class ImmediateTriggerer extends Object implements org.apache.pulsar.io.core.BatchSourceTriggerer
  • Constructor Details

    • ImmediateTriggerer

      public ImmediateTriggerer()
  • Method Details

    • init

      public void init(Map<String,Object> map, org.apache.pulsar.io.core.SourceContext sourceContext) throws Exception
      Specified by:
      init in interface org.apache.pulsar.io.core.BatchSourceTriggerer
      Throws:
      Exception
    • start

      public void start(Consumer<String> consumer)
      Specified by:
      start in interface org.apache.pulsar.io.core.BatchSourceTriggerer
    • stop

      public void stop()
      Specified by:
      stop in interface org.apache.pulsar.io.core.BatchSourceTriggerer