Class PulsarSinkDisable<T>

java.lang.Object
org.apache.pulsar.functions.sink.PulsarSinkDisable<T>
All Implemented Interfaces:
AutoCloseable, org.apache.pulsar.io.core.Sink<T>

public class PulsarSinkDisable<T> extends Object implements org.apache.pulsar.io.core.Sink<T>
  • Field Details

  • Constructor Details

    • PulsarSinkDisable

      public PulsarSinkDisable()
  • Method Details

    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception
    • open

      public void open(Map<String,Object> config, org.apache.pulsar.io.core.SinkContext sinkContext) throws Exception
      Specified by:
      open in interface org.apache.pulsar.io.core.Sink<T>
      Throws:
      Exception
    • write

      public void write(org.apache.pulsar.functions.api.Record<T> record) throws Exception
      Specified by:
      write in interface org.apache.pulsar.io.core.Sink<T>
      Throws:
      Exception