类的使用
org.apache.pulsar.common.io.SinkConfig
使用SinkConfig的程序包
程序包
说明
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
org.apache.pulsar.client.admin中SinkConfig的使用
修饰符和类型方法说明Get the configuration for the specified sink.返回变量类型为SinkConfig的类型的org.apache.pulsar.client.admin中的方法修饰符和类型方法说明Sinks.getSinkAsync(String tenant, String namespace, String sink) Get the configuration for the specified sink asynchronously.参数类型为SinkConfig的org.apache.pulsar.client.admin中的方法修饰符和类型方法说明voidSinks.createSink(SinkConfig sinkConfig, String fileName) Create a new sink.Sinks.createSinkAsync(SinkConfig sinkConfig, String fileName) Create a new sink asynchronously.voidSinks.createSinkWithUrl(SinkConfig sinkConfig, String pkgUrl) Create a new sink with package url.Sinks.createSinkWithUrlAsync(SinkConfig sinkConfig, String pkgUrl) Create a new sink with package url asynchronously.voidSinks.updateSink(SinkConfig sinkConfig, String fileName) Update the configuration for a sink.voidSinks.updateSink(SinkConfig sinkConfig, String fileName, UpdateOptions updateOptions) Update the configuration for a sink.Sinks.updateSinkAsync(SinkConfig sinkConfig, String fileName) Update the configuration for a sink asynchronously.Sinks.updateSinkAsync(SinkConfig sinkConfig, String fileName, UpdateOptions updateOptions) Update the configuration for a sink asynchronously.voidSinks.updateSinkWithUrl(SinkConfig sinkConfig, String pkgUrl) Update the configuration for a sink.voidSinks.updateSinkWithUrl(SinkConfig sinkConfig, String pkgUrl, UpdateOptions updateOptions) Update the configuration for a sink.Sinks.updateSinkWithUrlAsync(SinkConfig sinkConfig, String pkgUrl) Update the configuration for a sink asynchronously.Sinks.updateSinkWithUrlAsync(SinkConfig sinkConfig, String pkgUrl, UpdateOptions updateOptions) Update the configuration for a sink asynchronously.