| Package | Description |
|---|---|
| org.apache.pulsar.client.admin |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.common.policies.data |
Implementation of policies.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaCompatibilityStrategy |
Namespaces.getSchemaCompatibilityStrategy(String namespace)
Get the strategy used to check the a new schema provided by a producer is compatible with the current schema
before it is installed.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<SchemaCompatibilityStrategy> |
Namespaces.getSchemaCompatibilityStrategyAsync(String namespace)
Get the strategy used to check the a new schema provided by a producer is compatible with the current schema
before it is installed asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Namespaces.setSchemaCompatibilityStrategy(String namespace,
SchemaCompatibilityStrategy strategy)
Set the strategy used to check the a new schema provided by a producer is compatible with the current schema
before it is installed.
|
CompletableFuture<Void> |
Namespaces.setSchemaCompatibilityStrategyAsync(String namespace,
SchemaCompatibilityStrategy strategy)
Set the strategy used to check the a new schema provided by a producer is compatible with the current schema
before it is installed asynchronously.
|
| Modifier and Type | Field and Description |
|---|---|
SchemaCompatibilityStrategy |
Policies.schema_compatibility_strategy |
| Modifier and Type | Method and Description |
|---|---|
static SchemaCompatibilityStrategy |
SchemaCompatibilityStrategy.fromAutoUpdatePolicy(SchemaAutoUpdateCompatibilityStrategy strategy) |
static SchemaCompatibilityStrategy |
SchemaCompatibilityStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaCompatibilityStrategy[] |
SchemaCompatibilityStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.