All Superinterfaces:
Component<W>
All Known Implementing Classes:
SinksImpl

public interface Sinks<W extends WorkerService> extends Component<W>
The service to manage sinks.
  • Method Details

    • registerSink

      void registerSink(String tenant, String namespace, String sinkName, InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String sinkPkgUrl, org.apache.pulsar.common.io.SinkConfig sinkConfig, org.apache.pulsar.broker.authentication.AuthenticationParameters authParams)
      Update a function.
      Parameters:
      tenant - The tenant of a Pulsar Sink
      namespace - The namespace of a Pulsar Sink
      sinkName - The name of a Pulsar Sink
      uploadedInputStream - Input stream of bytes
      fileDetail - A form-data content disposition header
      sinkPkgUrl - URL path of the Pulsar Sink package
      sinkConfig - Configuration of Pulsar Sink
      authParams - the authentication parameters associated with the request
    • updateSink

      void updateSink(String tenant, String namespace, String sinkName, InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String sinkPkgUrl, org.apache.pulsar.common.io.SinkConfig sinkConfig, org.apache.pulsar.broker.authentication.AuthenticationParameters authParams, org.apache.pulsar.common.functions.UpdateOptionsImpl updateOptions)
      Update a function.
      Parameters:
      tenant - The tenant of a Pulsar Sink
      namespace - The namespace of a Pulsar Sink
      sinkName - The name of a Pulsar Sink
      uploadedInputStream - Input stream of bytes
      fileDetail - A form-data content disposition header
      sinkPkgUrl - URL path of the Pulsar Sink package
      sinkConfig - Configuration of Pulsar Sink
      authParams - the authentication parameters associated with the request
      updateOptions - Options while updating the sink
    • getSinkInstanceStatus

      org.apache.pulsar.common.policies.data.SinkStatus.SinkInstanceStatus.SinkInstanceStatusData getSinkInstanceStatus(String tenant, String namespace, String sinkName, String instanceId, URI uri, org.apache.pulsar.broker.authentication.AuthenticationParameters authParams)
    • getSinkStatus

      org.apache.pulsar.common.policies.data.SinkStatus getSinkStatus(String tenant, String namespace, String componentName, URI uri, org.apache.pulsar.broker.authentication.AuthenticationParameters authParams)
    • getSinkInfo

      org.apache.pulsar.common.io.SinkConfig getSinkInfo(String tenant, String namespace, String componentName, org.apache.pulsar.broker.authentication.AuthenticationParameters authParams)
    • getSinkList

      List<org.apache.pulsar.common.io.ConnectorDefinition> getSinkList()
    • getSinkConfigDefinition

      List<org.apache.pulsar.common.io.ConfigFieldDefinition> getSinkConfigDefinition(String name)