-
Notifications
You must be signed in to change notification settings - Fork 41.8k
Add support for Pulsar default tenant/namespace #41851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
3277577
aa2df46
b288d82
d635c7c
f40986b
df8db51
e65bdf1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -250,13 +250,43 @@ public Authentication getAuthentication() { | |
|
|
||
| public static class Defaults { | ||
|
|
||
| /** | ||
| * Default tenant to use when producing or consuming messages against a | ||
| * non-fully-qualified topic URL. When not specified Pulsar uses a default tenant | ||
| * of 'public'. | ||
| */ | ||
| private String tenant; | ||
|
|
||
| /** | ||
| * Default namespace to use when producing or consuming messages against a | ||
| * non-fully-qualified topic URL. When not specified Pulsar uses a default | ||
| * namespace of 'default'. | ||
| */ | ||
| private String namespace; | ||
|
|
||
|
||
| /** | ||
| * List of mappings from message type to topic name and schema info to use as a | ||
| * defaults when a topic name and/or schema is not explicitly specified when | ||
| * producing or consuming messages of the mapped type. | ||
| */ | ||
| private List<TypeMapping> typeMappings = new ArrayList<>(); | ||
|
|
||
| public String getTenant() { | ||
| return this.tenant; | ||
| } | ||
|
|
||
| public void setTenant(String tenant) { | ||
| this.tenant = tenant; | ||
| } | ||
|
|
||
| public String getNamespace() { | ||
| return this.namespace; | ||
| } | ||
|
|
||
| public void setNamespace(String namespace) { | ||
| this.namespace = namespace; | ||
| } | ||
|
|
||
| public List<TypeMapping> getTypeMappings() { | ||
| return this.typeMappings; | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.