类的使用
org.apache.pulsar.common.io.SourceConfig
使用SourceConfig的程序包
程序包
说明
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
org.apache.pulsar.client.admin中SourceConfig的使用
修饰符和类型方法说明Get the configuration for the specified source.返回变量类型为SourceConfig的类型的org.apache.pulsar.client.admin中的方法修饰符和类型方法说明Sources.getSourceAsync(String tenant, String namespace, String source) Get the configuration for the specified source asynchronously.修饰符和类型方法说明voidSources.createSource(SourceConfig sourceConfig, String fileName) Create a new source.Sources.createSourceAsync(SourceConfig sourceConfig, String fileName) Create a new source asynchronously.voidSources.createSourceWithUrl(SourceConfig sourceConfig, String pkgUrl) Create a new source with package url.Sources.createSourceWithUrlAsync(SourceConfig sourceConfig, String pkgUrl) Create a new source with package url asynchronously.voidSources.updateSource(SourceConfig sourceConfig, String fileName) Update the configuration for a source.voidSources.updateSource(SourceConfig sourceConfig, String fileName, UpdateOptions updateOptions) Update the configuration for a source.Sources.updateSourceAsync(SourceConfig sourceConfig, String fileName) Update the configuration for a source asynchronously.Sources.updateSourceAsync(SourceConfig sourceConfig, String fileName, UpdateOptions updateOptions) Update the configuration for a source asynchronously.voidSources.updateSourceWithUrl(SourceConfig sourceConfig, String pkgUrl) Update the configuration for a source.voidSources.updateSourceWithUrl(SourceConfig sourceConfig, String pkgUrl, UpdateOptions updateOptions) Update the configuration for a source.Sources.updateSourceWithUrlAsync(SourceConfig sourceConfig, String pkgUrl) Update the configuration for a source asynchronously.Sources.updateSourceWithUrlAsync(SourceConfig sourceConfig, String pkgUrl, UpdateOptions updateOptions) Update the configuration for a source asynchronously.