| Package | Description |
|---|---|
| org.apache.pulsar.client.admin |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method and Description |
|---|---|
SourceConfig |
Sources.getSource(String tenant,
String namespace,
String source)
Get the configuration for the specified source.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<SourceConfig> |
Sources.getSourceAsync(String tenant,
String namespace,
String source)
Get the configuration for the specified source asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Sources.createSource(SourceConfig sourceConfig,
String fileName)
Create a new source.
|
CompletableFuture<Void> |
Sources.createSourceAsync(SourceConfig sourceConfig,
String fileName)
Create a new source asynchronously.
|
void |
Sources.createSourceWithUrl(SourceConfig sourceConfig,
String pkgUrl)
Create a new source with package url.
|
CompletableFuture<Void> |
Sources.createSourceWithUrlAsync(SourceConfig sourceConfig,
String pkgUrl)
Create a new source with package url asynchronously.
|
void |
Sources.updateSource(SourceConfig sourceConfig,
String fileName)
Update the configuration for a source.
|
void |
Sources.updateSource(SourceConfig sourceConfig,
String fileName,
UpdateOptions updateOptions)
Update the configuration for a source.
|
CompletableFuture<Void> |
Sources.updateSourceAsync(SourceConfig sourceConfig,
String fileName)
Update the configuration for a source asynchronously.
|
CompletableFuture<Void> |
Sources.updateSourceAsync(SourceConfig sourceConfig,
String fileName,
UpdateOptions updateOptions)
Update the configuration for a source asynchronously.
|
void |
Sources.updateSourceWithUrl(SourceConfig sourceConfig,
String pkgUrl)
Update the configuration for a source.
|
void |
Sources.updateSourceWithUrl(SourceConfig sourceConfig,
String pkgUrl,
UpdateOptions updateOptions)
Update the configuration for a source.
|
CompletableFuture<Void> |
Sources.updateSourceWithUrlAsync(SourceConfig sourceConfig,
String pkgUrl)
Update the configuration for a source asynchronously.
|
CompletableFuture<Void> |
Sources.updateSourceWithUrlAsync(SourceConfig sourceConfig,
String pkgUrl,
UpdateOptions updateOptions)
Update the configuration for a source asynchronously.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.