diff --git a/modules/apis/attachments/devops.html b/modules/apis/attachments/devops.html index ef24ef8..f0a96dc 100644 --- a/modules/apis/attachments/devops.html +++ b/modules/apis/attachments/devops.html @@ -12,362 +12,362 @@ margin: 0; } -
-Download OpenAPI specification:Download
DataStax Astra Streaming DevOps API Reference
+Gets a list of secrets for the given tenant
+format | string the format of the secret including keys + |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) + |
X-DataStax-Current-Org required | string the Astra Org ID + |
Deletes a secret for the given tenant
+Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) + |
X-DataStax-Current-Org required | string the Astra Org ID + |
Creates a secret for the given tenant
+format | string the format of the secret including keys + |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) + |
X-DataStax-Current-Org required | string the Astra Org ID + |
a secret in string format
+Body | string |
{- "Body": "string"
}
Delete CDC configuration for the tenant
+tenant required | string Name of the pulsar tenant + |
Authorization required | string Pulsar token or Astra token. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
databaseId | string |
databaseName | string |
keyspace | string |
orgId | string |
tableName | string |
topicPartitions | integer <int64> |
{- "databaseId": "string",
- "databaseName": "string",
- "keyspace": "string",
- "orgId": "string",
- "tableName": "string",
- "topicPartitions": 0
}
Lists all CDC configurations for the tenant
+tenant required | string Name of the pulsar tenant + |
Authorization required | string Pulsar token or Astra token. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
Create new CDC configurations for the tenant
+tenant required | string Name of the pulsar tenant + |
Authorization required | string Pulsar token or Astra token. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
databaseId | string |
databaseName | string |
keyspace | string |
orgId | string |
tableName | string |
topicPartitions | integer <int64> |
{- "databaseId": "string",
- "databaseName": "string",
- "keyspace": "string",
- "orgId": "string",
- "tableName": "string",
- "topicPartitions": 0
}
Creates a new Sink using the given JSON config
+tenant required | string Name of the pulsar tenant + |
namespace required | string pulsar namespace + |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) + |
X-DataStax-Current-Org required | string Astra Org ID. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
sink configuration, see pulsar docs for more details: https://pulsar.apache.org/sink-rest-api/?version=master#operation/registerSink
+{ }
Update a Sink using the given JSON config
+tenant required | string Name of the pulsar tenant + |
namespace required | string pulsar namespace + |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) + |
X-DataStax-Current-Org required | string Astra Org ID. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
sink configuration, see pulsar docs for more details: https://pulsar.apache.org/sink-rest-api/?version=master#operation/registerSink
+{ }
Creates a new Source using the given JSON config
+tenant required | string Name of the pulsar tenant + |
namespace required | string pulsar namespace + |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) + |
X-DataStax-Current-Org required | string Astra Org ID. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
source configuration, see pulsar docs for more details: https://pulsar.apache.org/source-rest-api/?version=master#operation/registerSource
+{ }
Update a source using the given JSON config
+tenant required | string Name of the pulsar tenant + |
namespace required | string pulsar namespace + |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) + |
X-DataStax-Current-Org required | string Astra Org ID. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
source configuration, see pulsar docs for more details: https://pulsar.apache.org/source-rest-api/?version=master#operation/registerSource
+{ }
Gets a list of Pulsar clusters under a Pulsar instance
+provider | string Cloud provider, for example, aws, gcp, azure, or digital+ocean + |
region | string Cloud provider region, for example, us-east1, us-west1, toronto + |
feature | string Query clusters that support the specified feature (i.e. cdc) + |
type | string Query dedicated and BYOC clusters. The query param value is dedicated. + |
Authorization required |
Creates a tenant, the default namespace, a plan policy, and a Pulsar JWT
+topic | string Deprecated, topic management should be handled via the pulsar topic endpoints + |
Authorization required | |
X-DataStax-Current-Org required | string Organization GUID + |
Request body for tenant creation
+cloudProvider | string |
cloudRegion | string |
orgID | string |
orgName | string |
tenantName | string |
userEmail | string |
{- "cloudProvider": "string",
- "cloudRegion": "string",
- "orgID": "string",
- "orgName": "string",
- "tenantName": "string",
- "userEmail": "string"
}
Returns 200 if the tenant is reserved under the specified query parameters
+provider | string Cloud provider, for example, aws, gcp, azure; this is required to evaluate whether a tenant has been reserved by its org owner + |
region | string Cloud provider region, for example, us-east1, us-west1; this is required to evaluate whether a tenant has been reserved by its org owner + |
pulsarinstance | string Pulsar instance is the collection of Pulsar clusters. The default value is prod0, which is all the clusters in Astra Streaming's public cloud. This is required to evaluate whether a tenant has been reserved by the entire Pulsar instance. + |
cluster | string This is required to evaluate whether a tenant has been reserved within the specified cluster. It can be used for the dedicated or BYOC cluster. + |
Authorization required | |
X-DataStax-Current-Org required | string the Astra Org ID + |
Remove replicated namespace within the Pulsar instance
+Authorization required | |
X-DataStax-Current-Org required | string the Astra Org ID + |
Request body to setup namespace replication
+bidirection | boolean |
destCluster | string |
string | |
namespace | string |
originCluster | string |
{- "bidirection": true,
- "destCluster": "string",
- "email": "string",
- "namespace": "string",
- "originCluster": "string"
}
Set up replicated namespace within the Pulsar instance
+Authorization required | |
X-DataStax-Current-Org required | string the Astra Org ID + |
Request body to setup namespace replication
+bidirection | boolean |
destCluster | string |
string | |
namespace | string |
originCluster | string |
{- "bidirection": true,
- "destCluster": "string",
- "email": "string",
- "namespace": "string",
- "originCluster": "string"
}
tenant required | string Name of the pulsar tenant + |
Authorization required | |
X-DataStax-Current-Org required | string Astra Org ID. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
tenant required | string Name of the pulsar tenant + |
exp required | string Time to live of token in string format (e.g. 1h, 1d, 1w, 1m, 1y) + |
Authorization required | |
X-DataStax-Current-Org required | string Astra Org ID. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
Delete the given token from the given tenant
+tenant required | string Name of the pulsar tenant + |
tokenID required | string ID of the token to delete + |
Authorization required | |
X-DataStax-Current-Org required | string Astra Org ID. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
Get the given token from the given tenant
+tenant required | string Name of the pulsar tenant + |
tokenID required | string ID of the token + |
Authorization required | |
X-DataStax-Current-Org required | string Astra Org ID. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
Returns a JSON response instead of the string returned by the v2 endpoint.
+tenant required | string Name of the pulsar tenant + |
Authorization required | string Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) or a Keycloak token. + |
X-DataStax-Current-Org required | string Astra Org ID. + |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. + |
exp | string Time duration before the token expires. Expects a string format with a number and unit. For example, '5m', '2h', '10d', etc. + |
role | string |
type | string Type of token to create. Can be 'admin' or 'non-admin' + |
{- "exp": "string",
- "role": "string",
- "type": "string"
}
{- "id": "string",
- "rolename": "string",
- "token": "string"
}
Download OpenAPI specification:Download
Compatible source Pulsar Admin API endpoints on DataStax Astra Streaming
-allocator required | string |
{- "directArenas": [
- {
- "chunkLists": [
- {
- "chunks": [
- {
- "chunkSize": 0,
- "freeBytes": 0,
- "usage": 0
}
], - "maxUsage": 0,
- "minUsage": 0
}
], - "numActiveAllocations": 0,
- "numActiveHugeAllocations": 0,
- "numActiveNormalAllocations": 0,
- "numActiveSmallAllocations": 0,
- "numAllocations": 0,
- "numChunkLists": 0,
- "numDeallocations": 0,
- "numHugeAllocations": 0,
- "numHugeDeallocations": 0,
- "numNormalAllocations": 0,
- "numNormalDeallocations": 0,
- "numSmallAllocations": 0,
- "numSmallDeallocations": 0,
- "numSmallSubpages": 0,
- "smallSubpages": [
- {
- "elementSize": 0,
- "maxNumElements": 0,
- "numAvailable": 0,
- "pageSize": 0
}
]
}
], - "heapArenas": [
- {
- "chunkLists": [
- {
- "chunks": [
- {
- "chunkSize": 0,
- "freeBytes": 0,
- "usage": 0
}
], - "maxUsage": 0,
- "minUsage": 0
}
], - "numActiveAllocations": 0,
- "numActiveHugeAllocations": 0,
- "numActiveNormalAllocations": 0,
- "numActiveSmallAllocations": 0,
- "numAllocations": 0,
- "numChunkLists": 0,
- "numDeallocations": 0,
- "numHugeAllocations": 0,
- "numHugeDeallocations": 0,
- "numNormalAllocations": 0,
- "numNormalDeallocations": 0,
- "numSmallAllocations": 0,
- "numSmallDeallocations": 0,
- "numSmallSubpages": 0,
- "smallSubpages": [
- {
- "elementSize": 0,
- "maxNumElements": 0,
- "numAvailable": 0,
- "pageSize": 0
}
]
}
], - "normalCacheSize": 0,
- "numDirectArenas": 0,
- "numHeapArenas": 0,
- "numThreadLocalCaches": 0,
- "smallCacheSize": 0
}
{- "property1": {
- "cursorLedgerCloseOp": 0,
- "cursorLedgerCreateOp": 0,
- "cursorLedgerDeleteOp": 0,
- "cursorLedgerOpenOp": 0,
- "dataLedgerCloseOp": 0,
- "dataLedgerCreateOp": 0,
- "dataLedgerDeleteOp": 0,
- "dataLedgerOpenOp": 0
}, - "property2": {
- "cursorLedgerCloseOp": 0,
- "cursorLedgerCreateOp": 0,
- "cursorLedgerDeleteOp": 0,
- "cursorLedgerOpenOp": 0,
- "dataLedgerCloseOp": 0,
- "dataLedgerCreateOp": 0,
- "dataLedgerDeleteOp": 0,
- "dataLedgerOpenOp": 0
}
}
This API gives the current broker availability in percent, each resource percentage usage is calculated and thensum of all of the resource usage percent is called broker-resource-availability
THIS API IS ONLY FOR USE BY TESTING FOR CONFIRMING NAMESPACE ALLOCATION ALGORITHM
tenant required | string |
namespace required | string |
{- "property1": {
- "availableResource": {
- "resourceUsage": {
- "property1": {
- "limit": 0.1,
- "usage": 0.1
}, - "property2": {
- "limit": 0.1,
- "usage": 0.1
}
}, - "usagePct": 0
}, - "resourceId": "string"
}, - "property2": {
- "availableResource": {
- "resourceUsage": {
- "property1": {
- "limit": 0.1,
- "usage": 0.1
}, - "property2": {
- "limit": 0.1,
- "usage": 0.1
}
}, - "usagePct": 0
}, - "resourceId": "string"
}
}
consists of topics stats & systemResourceUsage
-{- "allocatedBandwidthIn": 0.1,
- "allocatedBandwidthOut": 0.1,
- "allocatedCPU": 0.1,
- "allocatedMemory": 0.1,
- "allocatedMsgRateIn": 0.1,
- "allocatedMsgRateOut": 0.1,
- "bandwidthIn": {
- "limit": 0.1,
- "usage": 0.1
}, - "bandwidthOut": {
- "limit": 0.1,
- "usage": 0.1
}, - "brokerVersionString": "string",
- "bundleGains": [
- "string"
], - "bundleLosses": [
- "string"
], - "bundleStats": {
- "property1": {
- "cacheSize": 0,
- "consumerCount": 0,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "producerCount": 0,
- "topics": 0
}, - "property2": {
- "cacheSize": 0,
- "consumerCount": 0,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "producerCount": 0,
- "topics": 0
}
}, - "cpu": {
- "limit": 0.1,
- "usage": 0.1
}, - "directMemory": {
- "limit": 0.1,
- "usage": 0.1
}, - "lastUpdate": 0,
- "loadReportType": "string",
- "memory": {
- "limit": 0.1,
- "usage": 0.1
}, - "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "name": "string",
- "nonPersistentTopicsEnabled": true,
- "numBundles": 0,
- "numConsumers": 0,
- "numProducers": 0,
- "numTopics": 0,
- "overLoaded": true,
- "persistentTopicsEnabled": true,
- "preAllocatedBandwidthIn": 0.1,
- "preAllocatedBandwidthOut": 0.1,
- "preAllocatedCPU": 0.1,
- "preAllocatedMemory": 0.1,
- "preAllocatedMsgRateIn": 0.1,
- "preAllocatedMsgRateOut": 0.1,
- "protocols": {
- "property1": "string",
- "property2": "string"
}, - "pulsarServiceUrl": "string",
- "pulsarServiceUrlTls": "string",
- "systemResourceUsage": {
- "bandwidthIn": {
- "limit": 0.1,
- "usage": 0.1
}, - "bandwidthOut": {
- "limit": 0.1,
- "usage": 0.1
}, - "cpu": {
- "limit": 0.1,
- "usage": 0.1
}, - "directMemory": {
- "limit": 0.1,
- "usage": 0.1
}, - "memory": {
- "limit": 0.1,
- "usage": 0.1
}
}, - "timestamp": 0,
- "underLoaded": true,
- "webServiceUrl": "string",
- "webServiceUrlTls": "string"
}
Requested should be executed by Monitoring agent on each broker to fetch the metrics
-[- {
- "dimensions": {
- "property1": "string",
- "property2": "string"
}, - "metrics": {
- "property1": { },
- "property2": { }
}
}
]
This operation requires Pulsar superuser privileges.
-cluster required | string The cluster name - |
{- "authenticationParameters": "string",
- "authenticationPlugin": "org.apache.pulsar.client.impl.auth.AuthenticationToken",
- "brokerClientTlsEnabled": true,
- "brokerClientTlsEnabledWithKeyStore": true,
- "brokerClientTlsTrustStore": "string",
- "brokerClientTlsTrustStorePassword": "string",
- "brokerClientTlsTrustStoreType": "JKS",
- "brokerClientTrustCertsFilePath": "string",
- "brokerServiceUrl": "pulsar://pulsar.example.com:6650",
- "brokerServiceUrlTls": "pulsar+ssl://pulsar.example.com:6651",
- "listenerName": "string",
- "peerClusterNames": [
- "string"
], - "proxyProtocol": "SNI",
- "proxyServiceUrl": "pulsar+ssl://ats-proxy.example.com:4443 or pulsar://ats-proxy.example.com:4080",
- "tlsAllowInsecureConnection": true
}
This operation requires Pulsar superuser privileges.
-cluster required | string The cluster name - |
{- "property1": {
- "brokers": "[ 'broker-1', 'broker-2' ]"
}, - "property2": {
- "brokers": "[ 'broker-1', 'broker-2' ]"
}
}
This operation requires Pulsar superuser privileges.
-cluster required | string The cluster name - |
domainName required | string The failure domain name - |
{- "brokers": "[ 'broker-1', 'broker-2' ]"
}
This operation requires Pulsar superuser privileges.
-cluster required | string The cluster name - |
{- "property1": {
- "auto_failover_policy": {
- "parameters": {
- "property1": "string",
- "property2": "string"
}, - "policyType": "min_available"
}, - "namespaces": [
- "string"
], - "primary": [
- "string"
], - "secondary": [
- "string"
]
}, - "property2": {
- "auto_failover_policy": {
- "parameters": {
- "property1": "string",
- "property2": "string"
}, - "policyType": "min_available"
}, - "namespaces": [
- "string"
], - "primary": [
- "string"
], - "secondary": [
- "string"
]
}
}
This operation requires Pulsar superuser privileges.
-cluster required | string The cluster name - |
[- {
- "brokerName": "broker1:8080",
- "namespaceRegex": [
- "string"
], - "policyName": "my-policy",
- "primary": true
}
]
This operation requires Pulsar superuser privileges.
-cluster required | string The cluster name - |
broker required | string Example: broker1:8080 The broker name ( |
{- "brokerName": "broker1:8080",
- "namespaceRegex": [
- "string"
], - "policyName": "my-policy",
- "primary": true
}
This operation requires Pulsar superuser privileges.
-cluster required | string The cluster name - |
policyName required | string The name of the namespace isolation policy - |
{- "auto_failover_policy": {
- "parameters": {
- "property1": "string",
- "property2": "string"
}, - "policyType": "min_available"
}, - "namespaces": [
- "string"
], - "primary": [
- "string"
], - "secondary": [
- "string"
]
}
cluster required | string |
group required | string |
tenant | string |
[- "string"
]
tenant required | string |
namespace required | string |
{- "auth_policies": {
- "namespaceAuthentication": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}, - "subscriptionAuthentication": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "topicAuthentication": {
- "property1": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}, - "property2": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}
}
}, - "autoSubscriptionCreationOverride": {
- "allowAutoSubscriptionCreation": true
}, - "autoTopicCreationOverride": {
- "allowAutoTopicCreation": true,
- "defaultNumPartitions": 0,
- "topicType": "string"
}, - "backlog_quota_map": {
- "property1": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}, - "property2": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}
}, - "bundles": {
- "boundaries": [
- "string"
], - "numBundles": 0
}, - "clusterDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "clusterSubscribeRate": {
- "property1": {
- "ratePeriodInSecond": 0,
- "subscribeThrottlingRatePerConsumer": 0
}, - "property2": {
- "ratePeriodInSecond": 0,
- "subscribeThrottlingRatePerConsumer": 0
}
}, - "compaction_threshold": 0,
- "deduplicationEnabled": true,
- "deduplicationSnapshotIntervalSeconds": 0,
- "delayed_delivery_policies": {
- "active": true,
- "tickTime": 0
}, - "deleted": true,
- "encryption_required": true,
- "inactive_topic_policies": {
- "deleteWhileInactive": true,
- "inactiveTopicDeleteMode": "delete_when_no_subscriptions",
- "maxInactiveDurationSeconds": 0
}, - "is_allow_auto_update_schema": true,
- "latency_stats_sample_rate": {
- "property1": 0,
- "property2": 0
}, - "max_consumers_per_subscription": 0,
- "max_consumers_per_topic": 0,
- "max_producers_per_topic": 0,
- "max_subscriptions_per_topic": 0,
- "max_topics_per_namespace": 0,
- "max_unacked_messages_per_consumer": 0,
- "max_unacked_messages_per_subscription": 0,
- "message_ttl_in_seconds": 0,
- "offload_deletion_lag_ms": 0,
- "offload_policies": {
- "fileSystemProfilePath": "string",
- "fileSystemURI": "string",
- "gcsManagedLedgerOffloadBucket": "string",
- "gcsManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "gcsManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "gcsManagedLedgerOffloadRegion": "string",
- "gcsManagedLedgerOffloadServiceAccountKeyFile": "string",
- "managedLedgerOffloadBucket": "string",
- "managedLedgerOffloadDeletionLagInMillis": 0,
- "managedLedgerOffloadDriver": "string",
- "managedLedgerOffloadMaxBlockSizeInBytes": 0,
- "managedLedgerOffloadMaxThreads": 0,
- "managedLedgerOffloadPrefetchRounds": 0,
- "managedLedgerOffloadReadBufferSizeInBytes": 0,
- "managedLedgerOffloadRegion": "string",
- "managedLedgerOffloadServiceEndpoint": "string",
- "managedLedgerOffloadThresholdInBytes": 0,
- "managedLedgerOffloadedReadPriority": "BOOKKEEPER_FIRST",
- "offloadersDirectory": "string",
- "s3ManagedLedgerOffloadBucket": "string",
- "s3ManagedLedgerOffloadCredentialId": "string",
- "s3ManagedLedgerOffloadCredentialSecret": "string",
- "s3ManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "s3ManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "s3ManagedLedgerOffloadRegion": "string",
- "s3ManagedLedgerOffloadRole": "string",
- "s3ManagedLedgerOffloadRoleSessionName": "string",
- "s3ManagedLedgerOffloadServiceEndpoint": "string"
}, - "offload_threshold": 0,
- "persistence": {
- "bookkeeperAckQuorum": 0,
- "bookkeeperEnsemble": 0,
- "bookkeeperWriteQuorum": 0,
- "managedLedgerMaxMarkDeleteRate": 0.1
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "publishMaxMessageRate": {
- "property1": {
- "publishThrottlingRateInByte": 0,
- "publishThrottlingRateInMsg": 0
}, - "property2": {
- "publishThrottlingRateInByte": 0,
- "publishThrottlingRateInMsg": 0
}
}, - "replication_clusters": [
- "string"
], - "replicatorDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "resource_group_name": "string",
- "retention_policies": {
- "retentionSizeInMB": 0,
- "retentionTimeInMinutes": 0
}, - "schema_auto_update_compatibility_strategy": "AutoUpdateDisabled",
- "schema_compatibility_strategy": "UNDEFINED",
- "schema_validation_enforced": true,
- "subscriptionDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "subscription_auth_mode": "None",
- "subscription_expiration_time_minutes": 0,
- "subscription_types_enabled": [
- "string"
], - "topicDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}
}
tenant required | string |
namespace required | string |
Policies for the namespace
-object (AuthPolicies) | |
object (AutoSubscriptionCreationOverride) | |
object (AutoTopicCreationOverride) | |
object | |
object (BundlesData) | |
object | |
object | |
compaction_threshold | integer <int64> |
deduplicationEnabled | boolean |
deduplicationSnapshotIntervalSeconds | integer <int32> |
object (DelayedDeliveryPolicies) | |
deleted | boolean |
encryption_required | boolean |
object (InactiveTopicPolicies) | |
is_allow_auto_update_schema | boolean |
object | |
max_consumers_per_subscription | integer <int32> |
max_consumers_per_topic | integer <int32> |
max_producers_per_topic | integer <int32> |
max_subscriptions_per_topic | integer <int32> |
max_topics_per_namespace | integer <int32> |
max_unacked_messages_per_consumer | integer <int32> |
max_unacked_messages_per_subscription | integer <int32> |
message_ttl_in_seconds | integer <int32> |
offload_deletion_lag_ms | integer <int64> |
object (OffloadPolicies) | |
offload_threshold | integer <int64> |
object (PersistencePolicies) | |
object | |
object | |
replication_clusters | Array of strings unique |
object | |
resource_group_name | string |
object (RetentionPolicies) | |
schema_auto_update_compatibility_strategy | string Enum: "AutoUpdateDisabled" "Backward" "Forward" "Full" "AlwaysCompatible" "BackwardTransitive" "ForwardTransitive" "FullTransitive" |
schema_compatibility_strategy | string Enum: "UNDEFINED" "ALWAYS_INCOMPATIBLE" "ALWAYS_COMPATIBLE" "BACKWARD" "FORWARD" "FULL" "BACKWARD_TRANSITIVE" "FORWARD_TRANSITIVE" "FULL_TRANSITIVE" |
schema_validation_enforced | boolean |
object | |
subscription_auth_mode | string Enum: "None" "Prefix" |
subscription_expiration_time_minutes | integer <int32> |
subscription_types_enabled | Array of strings unique |
object |
{- "auth_policies": {
- "namespaceAuthentication": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}, - "subscriptionAuthentication": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "topicAuthentication": {
- "property1": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}, - "property2": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}
}
}, - "autoSubscriptionCreationOverride": {
- "allowAutoSubscriptionCreation": true
}, - "autoTopicCreationOverride": {
- "allowAutoTopicCreation": true,
- "defaultNumPartitions": 0,
- "topicType": "string"
}, - "backlog_quota_map": {
- "property1": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}, - "property2": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}
}, - "bundles": {
- "boundaries": [
- "string"
], - "numBundles": 0
}, - "clusterDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "clusterSubscribeRate": {
- "property1": {
- "ratePeriodInSecond": 0,
- "subscribeThrottlingRatePerConsumer": 0
}, - "property2": {
- "ratePeriodInSecond": 0,
- "subscribeThrottlingRatePerConsumer": 0
}
}, - "compaction_threshold": 0,
- "deduplicationEnabled": true,
- "deduplicationSnapshotIntervalSeconds": 0,
- "delayed_delivery_policies": {
- "active": true,
- "tickTime": 0
}, - "deleted": true,
- "encryption_required": true,
- "inactive_topic_policies": {
- "deleteWhileInactive": true,
- "inactiveTopicDeleteMode": "delete_when_no_subscriptions",
- "maxInactiveDurationSeconds": 0
}, - "is_allow_auto_update_schema": true,
- "latency_stats_sample_rate": {
- "property1": 0,
- "property2": 0
}, - "max_consumers_per_subscription": 0,
- "max_consumers_per_topic": 0,
- "max_producers_per_topic": 0,
- "max_subscriptions_per_topic": 0,
- "max_topics_per_namespace": 0,
- "max_unacked_messages_per_consumer": 0,
- "max_unacked_messages_per_subscription": 0,
- "message_ttl_in_seconds": 0,
- "offload_deletion_lag_ms": 0,
- "offload_policies": {
- "fileSystemProfilePath": "string",
- "fileSystemURI": "string",
- "gcsManagedLedgerOffloadBucket": "string",
- "gcsManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "gcsManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "gcsManagedLedgerOffloadRegion": "string",
- "gcsManagedLedgerOffloadServiceAccountKeyFile": "string",
- "managedLedgerOffloadBucket": "string",
- "managedLedgerOffloadDeletionLagInMillis": 0,
- "managedLedgerOffloadDriver": "string",
- "managedLedgerOffloadMaxBlockSizeInBytes": 0,
- "managedLedgerOffloadMaxThreads": 0,
- "managedLedgerOffloadPrefetchRounds": 0,
- "managedLedgerOffloadReadBufferSizeInBytes": 0,
- "managedLedgerOffloadRegion": "string",
- "managedLedgerOffloadServiceEndpoint": "string",
- "managedLedgerOffloadThresholdInBytes": 0,
- "managedLedgerOffloadedReadPriority": "BOOKKEEPER_FIRST",
- "offloadersDirectory": "string",
- "s3ManagedLedgerOffloadBucket": "string",
- "s3ManagedLedgerOffloadCredentialId": "string",
- "s3ManagedLedgerOffloadCredentialSecret": "string",
- "s3ManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "s3ManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "s3ManagedLedgerOffloadRegion": "string",
- "s3ManagedLedgerOffloadRole": "string",
- "s3ManagedLedgerOffloadRoleSessionName": "string",
- "s3ManagedLedgerOffloadServiceEndpoint": "string"
}, - "offload_threshold": 0,
- "persistence": {
- "bookkeeperAckQuorum": 0,
- "bookkeeperEnsemble": 0,
- "bookkeeperWriteQuorum": 0,
- "managedLedgerMaxMarkDeleteRate": 0.1
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "publishMaxMessageRate": {
- "property1": {
- "publishThrottlingRateInByte": 0,
- "publishThrottlingRateInMsg": 0
}, - "property2": {
- "publishThrottlingRateInByte": 0,
- "publishThrottlingRateInMsg": 0
}
}, - "replication_clusters": [
- "string"
], - "replicatorDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "resource_group_name": "string",
- "retention_policies": {
- "retentionSizeInMB": 0,
- "retentionTimeInMinutes": 0
}, - "schema_auto_update_compatibility_strategy": "AutoUpdateDisabled",
- "schema_compatibility_strategy": "UNDEFINED",
- "schema_validation_enforced": true,
- "subscriptionDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "subscription_auth_mode": "None",
- "subscription_expiration_time_minutes": 0,
- "subscription_types_enabled": [
- "string"
], - "topicDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}
}
tenant required | string |
namespace required | string |
Settings for automatic subscription creation
-allowAutoSubscriptionCreation | boolean |
{- "allowAutoSubscriptionCreation": true
}
tenant required | string |
namespace required | string |
Settings for automatic topic creation
-allowAutoTopicCreation | boolean |
defaultNumPartitions | integer <int32> |
topicType | string |
{- "allowAutoTopicCreation": true,
- "defaultNumPartitions": 0,
- "topicType": "string"
}
tenant required | string |
namespace required | string |
backlogQuotaType | string Enum: "destination_storage" "message_age" |
Backlog quota for all topics of the specified namespace
-limit | integer <int64> |
limitSize | integer <int64> |
limitTime | integer <int32> |
policy | string Enum: "producer_request_hold" "producer_exception" "consumer_backlog_eviction" |
{- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}
tenant required | string |
namespace required | string |
{- "property1": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}, - "property2": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}
}
The backlog size is compared to the threshold periodically. A threshold of 0 disabled automatic compaction
-tenant required | string |
namespace required | string |
0
The backlog size is compared to the threshold periodically. A threshold of 0 disabled automatic compaction
-tenant required | string |
namespace required | string |
Maximum number of uncompacted bytes in a topic of the specified namespace
-0
tenant required | string |
namespace required | string |
Flag for disabling or enabling broker side deduplication for all topics in the specified namespace
-true
tenant required | string |
namespace required | string |
Interval to take deduplication snapshot per topic
-0
tenant required | string |
namespace required | string |
Delayed delivery policies for the specified namespace
-active | boolean |
tickTime | integer <int64> |
{- "active": true,
- "tickTime": 0
}
tenant required | string |
namespace required | string |
{- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
tenant required | string |
namespace required | string |
Flag defining if message encryption is required
-true
tenant required | string |
namespace required | string |
{- "deleteWhileInactive": true,
- "inactiveTopicDeleteMode": "delete_when_no_subscriptions",
- "maxInactiveDurationSeconds": 0
}
tenant required | string |
namespace required | string |
Inactive topic policies for the specified namespace
-deleteWhileInactive | boolean |
inactiveTopicDeleteMode | string Enum: "delete_when_no_subscriptions" "delete_when_subscriptions_caught_up" |
maxInactiveDurationSeconds | integer <int32> |
{- "deleteWhileInactive": true,
- "inactiveTopicDeleteMode": "delete_when_no_subscriptions",
- "maxInactiveDurationSeconds": 0
}
tenant required | string |
namespace required | string |
Number of maximum consumers per subscription
-0
tenant required | string |
namespace required | string |
Number of maximum subscriptions per topic
-0
tenant required | string |
namespace required | string |
Number of maximum topics for specific namespace
-0
tenant required | string |
namespace required | string |
Number of maximum unacked messages per consumer
-0
tenant required | string |
namespace required | string |
Number of maximum unacked messages per subscription
-0
A negative value denotes that deletion has been completely disabled. 'null' denotes that the topics in the namespace will fall back to the broker default for deletion lag.
-tenant required | string |
namespace required | string |
0
tenant required | string |
namespace required | string |
{- "fileSystemDriver": true,
- "fileSystemProfilePath": "string",
- "fileSystemURI": "string",
- "gcsDriver": true,
- "gcsManagedLedgerOffloadBucket": "string",
- "gcsManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "gcsManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "gcsManagedLedgerOffloadRegion": "string",
- "gcsManagedLedgerOffloadServiceAccountKeyFile": "string",
- "managedLedgerOffloadBucket": "string",
- "managedLedgerOffloadDeletionLagInMillis": 0,
- "managedLedgerOffloadDriver": "string",
- "managedLedgerOffloadMaxBlockSizeInBytes": 0,
- "managedLedgerOffloadMaxThreads": 0,
- "managedLedgerOffloadPrefetchRounds": 0,
- "managedLedgerOffloadReadBufferSizeInBytes": 0,
- "managedLedgerOffloadRegion": "string",
- "managedLedgerOffloadServiceEndpoint": "string",
- "managedLedgerOffloadThresholdInBytes": 0,
- "managedLedgerOffloadedReadPriority": "BOOKKEEPER_FIRST",
- "offloadersDirectory": "string",
- "s3Driver": true,
- "s3ManagedLedgerOffloadBucket": "string",
- "s3ManagedLedgerOffloadCredentialId": "string",
- "s3ManagedLedgerOffloadCredentialSecret": "string",
- "s3ManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "s3ManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "s3ManagedLedgerOffloadRegion": "string",
- "s3ManagedLedgerOffloadRole": "string",
- "s3ManagedLedgerOffloadRoleSessionName": "string",
- "s3ManagedLedgerOffloadServiceEndpoint": "string"
}
A negative value disables automatic offloading
-tenant required | string |
namespace required | string |
0
-1 will revert to using the cluster default. A negative value disables automatic offloading.
-tenant required | string |
namespace required | string |
Maximum number of bytes stored on the pulsar cluster for a topic of the specified namespace
-0
tenant required | string |
namespace required | string |
role required | string |
List of permissions for the specified role
-[- "produce"
]
tenant required | string |
namespace required | string |
{- "bookkeeperAckQuorum": 0,
- "bookkeeperEnsemble": 0,
- "bookkeeperWriteQuorum": 0,
- "managedLedgerMaxMarkDeleteRate": 0.1
}
tenant required | string |
namespace required | string |
Key value pair properties for the namespace
-property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
tenant required | string |
namespace required | string |
{- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
tenant required | string |
namespace required | string |
Retention policies for the specified namespace
-retentionSizeInMB | integer <int64> |
retentionTimeInMinutes | integer <int32> |
{- "retentionSizeInMB": 0,
- "retentionTimeInMinutes": 0
}
The value AutoUpdateDisabled prevents producers from updating the schema. If set to AutoUpdateDisabled, schemas must be updated through the REST api
-tenant required | string |
namespace required | string |
"AutoUpdateDisabled"
The value AutoUpdateDisabled prevents producers from updating the schema. If set to AutoUpdateDisabled, schemas must be updated through the REST api
-tenant required | string |
namespace required | string |
Strategy used to check the compatibility of new schemas
-"string"
tenant required | string |
namespace required | string |
Strategy used to check the compatibility of new schema
-"string"
If the flag is set to true, when a producer without a schema attempts to produce to a topic with schema in this namespace, the producer will be failed to connect. PLEASE be carefully on using this, since non-java clients don't support schema.if you enable this setting, it will cause non-java clients failed to produce.
-tenant required | string |
namespace required | string |
applied | boolean Default: false |
true
If the flag is set to true, when a producer without a schema attempts to produce to a topic with schema in this namespace, the producer will be failed to connect. PLEASE be carefully on using this, since non-java clients don't support schema.if you enable this setting, it will cause non-java clients failed to produce.
-tenant required | string |
namespace required | string |
Flag of whether validation is enforced on the specified namespace
-true
tenant required | string |
namespace required | string |
{- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
tenant required | string |
namespace required | string |
Expiration time in minutes for the specified namespace
-0
tenant required | string |
namespace required | string |
Set of whether allow subscription types
-[- "Exclusive"
]
Unload an active namespace from the current broker serving it. Performing this operation will let the brokerremoves all producers, consumers, and connections using this namespace, and close all topics (includingtheir persistent store). During that operation, the namespace is marked as tentatively unavailable until thebroker completes the unloading action. This operation requires strictly super user privileges, since it wouldresult in non-persistent message loss and unexpected connection closure to the clients.
-tenant required | string |
namespace required | string |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
bundle | string Specify the bundle name - |
[- "string"
]
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
bundle required | string Bundle range of a topic - |
[- "string"
]
The topic cannot be deleted if delete is not forcefully and there's any active subscription or producer connected to the it. Force delete ignores connected clients and deletes topic by explicitly closing them.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
force | boolean Default: false Stop all producer/consumer/replicator and delete topic forcefully - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
deleteSchema | boolean Default: false Delete the topic's schema storage - |
This is the only REST endpoint from which non-partitioned topics could be created.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Key value pair properties for the topic metadata
-property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
expireTimeInSeconds required | integer <int32> Default: 0 Expires beyond the specified number of seconds - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
{- "brokerName": "string",
- "cursorDetails": {
- "property1": {
- "cursorBacklog": 0,
- "cursorLedgerId": 0
}, - "property2": {
- "cursorBacklog": 0,
- "cursorLedgerId": 0
}
}, - "dataLedgerDetails": [
- {
- "entries": 0,
- "ledgerId": 0,
- "size": 0,
- "timestamp": 0
}
], - "messageBacklog": 0,
- "statGeneratedAt": "2019-08-24T14:15:22Z",
- "storageSize": 0,
- "topicName": "string",
- "totalMessages": 0
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
isGlobal | boolean Default: false |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
{- "lastError": "string",
- "status": "NOT_RUN"
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
authoritative | boolean Default: false |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
DeduplicationEnabled policies for the specified topic
-true
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Delayed delivery policies for the specified topic
-active | boolean |
tickTime | integer <int64> |
{- "active": true,
- "tickTime": 0
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
initialPosition | string Default: "latest" Enum: "latest" "earliest" Relative start position to examine message.It can be 'latest' or 'earliest' - |
messagePosition | integer <int64> Default: 1 The position of messages (default 1) - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
metadata | boolean Default: false |
{- "compactedLedger": {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}, - "currentLedgerEntries": 0,
- "currentLedgerSize": 0,
- "cursors": {
- "property1": {
- "cursorLedger": 0,
- "cursorLedgerLastEntry": 0,
- "individuallyDeletedMessages": "string",
- "lastLedgerSwitchTimestamp": "string",
- "markDeletePosition": "string",
- "messagesConsumedCounter": 0,
- "numberOfEntriesSinceFirstNotAckedMessage": 0,
- "pendingReadOps": 0,
- "properties": {
- "property1": 0,
- "property2": 0
}, - "readPosition": "string",
- "state": "string",
- "subscriptionHavePendingRead": true,
- "subscriptionHavePendingReplayRead": true,
- "totalNonContiguousDeletedMessagesRange": 0,
- "waitingReadOp": true
}, - "property2": {
- "cursorLedger": 0,
- "cursorLedgerLastEntry": 0,
- "individuallyDeletedMessages": "string",
- "lastLedgerSwitchTimestamp": "string",
- "markDeletePosition": "string",
- "messagesConsumedCounter": 0,
- "numberOfEntriesSinceFirstNotAckedMessage": 0,
- "pendingReadOps": 0,
- "properties": {
- "property1": 0,
- "property2": 0
}, - "readPosition": "string",
- "state": "string",
- "subscriptionHavePendingRead": true,
- "subscriptionHavePendingReplayRead": true,
- "totalNonContiguousDeletedMessagesRange": 0,
- "waitingReadOp": true
}
}, - "entriesAddedCounter": 0,
- "lastConfirmedEntry": "string",
- "lastLedgerCreatedTimestamp": "string",
- "lastLedgerCreationFailureTimestamp": "string",
- "ledgers": [
- {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}
], - "numberOfEntries": 0,
- "pendingAddEntriesCount": 0,
- "schemaLedgers": [
- {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}
], - "state": "string",
- "totalSize": 0,
- "waitingCursorsCount": 0
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
ledgerId required | integer <int64> The ledger id - |
entryId required | integer <int64> The entry id - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
The max message size of the topic
-0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
The max subscriptions of the topic
-0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Max unacked messages on subscription policies for the specified topic
-0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
timestamp required | integer <int64> Specify the timestamp - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
perPartition | boolean Default: true Get per partition stats - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
getPreciseBacklog | boolean Default: false If return precise backlog or imprecise backlog - |
subscriptionBacklogSize | boolean Default: false If return backlog size for each subscription, require locking on ledger so be careful not to use when there's heavy traffic. - |
getEarliestTimeInBacklog | boolean Default: false If return the earliest time in backlog - |
It will also delete all the partitions of the topic if it exists.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
force | boolean Default: false Stop all producer/consumer/replicator and delete topic forcefully - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
deleteSchema | boolean Default: false Delete the topic's schema storage - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
checkAllowAutoCreation | boolean Default: false Is check configuration required to automatically create topic - |
It only increments partitions of existing non-global partitioned-topic
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
updateLocalTopicOnly | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
force | boolean Default: false |
The number of partitions for the topic
-0
It needs to be called before creating a producer on a partitioned topic.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
createLocalTopicOnly | boolean Default: false |
The metadata for the topic
-partitions | integer <int32> |
object |
{- "partitions": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
Retrieve the effective permissions for a topic. These permissions are defined by the permissions set at thenamespace level combined (union) with any eventual specific permission set on the topic.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
{- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}
Revoke permissions to a role on a single topic. If the permission was not set at the topiclevel, but rather at the namespace level, this operation will return an error (HTTP status code 412).
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
role required | string Client role to which grant permissions - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
role required | string Client role to which grant permissions - |
Actions to be granted (produce,functions,consume)
-[- "produce"
]
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
backlogQuotaType | string Enum: "destination_storage" "message_age" |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
List of replication clusters
-[- "string"
]
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Replicator dispatch rate of the topic
-dispatchThrottlingRateInByte | integer <int64> |
dispatchThrottlingRateInMsg | integer <int32> |
ratePeriodInSecond | integer <int32> |
relativeToPublishRate | boolean |
{- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Strategy used to check the compatibility of new schema
-"string"
tenant required | string Specify the tenant - |
namespace required | string Specify the cluster - |
topic required | string Specify topic name - |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Strategy used to check the compatibility of new schema
-"string"
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Is authentication required to perform this operation - |
getPreciseBacklog | boolean Default: false If return precise backlog or imprecise backlog - |
subscriptionBacklogSize | boolean Default: false If return backlog size for each subscription, require locking on ledger so be careful not to use when there's heavy traffic. - |
getEarliestTimeInBacklog | boolean Default: false If return time of the earliest message in backlog - |
{- "averageMsgSize": 0.1,
- "backlogSize": 0,
- "bytesInCounter": 0,
- "bytesOutCounter": 0,
- "compaction": {
- "lastCompactionDurationTimeInMills": 0,
- "lastCompactionFailedTimestamp": 0,
- "lastCompactionRemovedEventCount": 0,
- "lastCompactionSucceedTimestamp": 0
}, - "deduplicationStatus": "string",
- "earliestMsgPublishTimeInBacklogs": 0,
- "msgChunkPublished": true,
- "msgDropRate": 0.1,
- "msgInCounter": 0,
- "msgOutCounter": 0,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "offloadedStorageSize": 0,
- "publishers": [
- {
- "accessMode": "Shared",
- "address": "string",
- "averageMsgSize": 0.1,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgDropRate": 0.1,
- "msgRateIn": 0.1,
- "msgThroughputIn": 0.1,
- "producerId": 0,
- "producerName": "string",
- "supportsPartialProducer": true
}
], - "replication": {
- "property1": {
- "connected": true,
- "inboundConnectedSince": "string",
- "inboundConnection": "string",
- "msgDropRate": 0.1,
- "msgRateExpired": 0.1,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "outboundConnectedSince": "string",
- "outboundConnection": "string",
- "replicationBacklog": 0,
- "replicationDelayInSeconds": 0
}, - "property2": {
- "connected": true,
- "inboundConnectedSince": "string",
- "inboundConnection": "string",
- "msgDropRate": 0.1,
- "msgRateExpired": 0.1,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "outboundConnectedSince": "string",
- "outboundConnection": "string",
- "replicationBacklog": 0,
- "replicationDelayInSeconds": 0
}
}, - "storageSize": 0,
- "subscriptions": {
- "property1": {
- "activeConsumerName": "string",
- "allowOutOfOrderDelivery": true,
- "backlogSize": 0,
- "blockedSubscriptionOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0,
- "consumers": [
- {
- "address": "string",
- "availablePermits": 0,
- "avgMessagesPerEntry": 0,
- "blockedConsumerOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "consumerName": "string",
- "keyHashRanges": [
- "string"
], - "lastAckedTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "messageAckRate": 0.1,
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgOutCounter": 0,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "readPositionWhenJoining": "string",
- "unackedMessages": 0
}
], - "consumersAfterMarkDeletePosition": {
- "property1": "string",
- "property2": "string"
}, - "durable": true,
- "earliestMsgPublishTimeInBacklog": 0,
- "keySharedMode": "string",
- "lastAckedTimestamp": 0,
- "lastConsumedFlowTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "lastExpireTimestamp": 0,
- "lastMarkDeleteAdvancedTimestamp": 0,
- "messageAckRate": 0.1,
- "msgBacklog": 0,
- "msgBacklogNoDelayed": 0,
- "msgDelayed": 0,
- "msgDropRate": 0.1,
- "msgOutCounter": 0,
- "msgRateExpired": 0.1,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "replicated": true,
- "subscriptionProperties": {
- "property1": "string",
- "property2": "string"
}, - "totalMsgExpired": 0,
- "type": "string",
- "unackedMessages": 0
}, - "property2": {
- "activeConsumerName": "string",
- "allowOutOfOrderDelivery": true,
- "backlogSize": 0,
- "blockedSubscriptionOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0,
- "consumers": [
- {
- "address": "string",
- "availablePermits": 0,
- "avgMessagesPerEntry": 0,
- "blockedConsumerOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "consumerName": "string",
- "keyHashRanges": [
- "string"
], - "lastAckedTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "messageAckRate": 0.1,
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgOutCounter": 0,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "readPositionWhenJoining": "string",
- "unackedMessages": 0
}
], - "consumersAfterMarkDeletePosition": {
- "property1": "string",
- "property2": "string"
}, - "durable": true,
- "earliestMsgPublishTimeInBacklog": 0,
- "keySharedMode": "string",
- "lastAckedTimestamp": 0,
- "lastConsumedFlowTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "lastExpireTimestamp": 0,
- "lastMarkDeleteAdvancedTimestamp": 0,
- "messageAckRate": 0.1,
- "msgBacklog": 0,
- "msgBacklogNoDelayed": 0,
- "msgDelayed": 0,
- "msgDropRate": 0.1,
- "msgOutCounter": 0,
- "msgRateExpired": 0.1,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "replicated": true,
- "subscriptionProperties": {
- "property1": "string",
- "property2": "string"
}, - "totalMsgExpired": 0,
- "type": "string",
- "unackedMessages": 0
}
}, - "topicEpoch": 0,
- "waitingPublishers": 0
}
The subscription cannot be deleted if delete is not forcefully and there are any active consumers attached to it. Force delete ignores connected consumers and deletes subscription by explicitly closing them.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to be deleted - |
force | boolean Default: false Disconnect and close all consumers and delete subscription forcefully - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to be Expiry messages on - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
messageId to reset back to (ledgerId:entryId)
-batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to be Expiry messages on - |
expireTimeInSeconds required | integer <int32> Default: 0 Expires beyond the specified number of seconds - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscribed message expired - |
messagePosition required | integer <int32> Default: 1 The number of messages (default 1) - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to update - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
The new properties
-property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Name of subscription - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Name of subscription - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Whether to enable replicated subscription
-true
It fence cursor and disconnects all active consumers before reseting cursor.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to reset position on - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
messageId to reset back to (ledgerId:entryId)
-batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
It fence cursor and disconnects all active consumers before reseting cursor.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to reset position on - |
timestamp required | integer <int64> the timestamp to reset back - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Name of subscription - |
numMessages required | integer <int32> Default: 0 The number of messages to skip - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Completely clears the backlog on the subscription.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Name of subscription - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Creates a subscription on the topic at the specified message id
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subscriptionName required | string Subscription to create position on - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
replicated | boolean Is replicated required to perform this operation - |
messageId where to create the subscription. It can be 'latest', 'earliest' or (ledgerId:entryId)
-batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Enable sub types for the specified topic
-[- "Exclusive"
]
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
{ }
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
NonPersistentTopic does not support truncate.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
The topic cannot be deleted if delete is not forcefully and there's any active subscription or producer connected to the it. Force delete ignores connected clients and deletes topic by explicitly closing them.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
force | boolean Default: false Stop all producer/consumer/replicator and delete topic forcefully - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
deleteSchema | boolean Default: false Delete the topic's schema storage - |
This is the only REST endpoint from which non-partitioned topics could be created.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Key value pair properties for the topic metadata
-property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
expireTimeInSeconds required | integer <int32> Default: 0 Expires beyond the specified number of seconds - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
{- "brokerName": "string",
- "cursorDetails": {
- "property1": {
- "cursorBacklog": 0,
- "cursorLedgerId": 0
}, - "property2": {
- "cursorBacklog": 0,
- "cursorLedgerId": 0
}
}, - "dataLedgerDetails": [
- {
- "entries": 0,
- "ledgerId": 0,
- "size": 0,
- "timestamp": 0
}
], - "messageBacklog": 0,
- "statGeneratedAt": "2019-08-24T14:15:22Z",
- "storageSize": 0,
- "topicName": "string",
- "totalMessages": 0
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
isGlobal | boolean Default: false |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
{- "lastError": "string",
- "status": "NOT_RUN"
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
authoritative | boolean Default: false |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
DeduplicationEnabled policies for the specified topic
-true
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Delayed delivery policies for the specified topic
-active | boolean |
tickTime | integer <int64> |
{- "active": true,
- "tickTime": 0
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
initialPosition | string Default: "latest" Enum: "latest" "earliest" Relative start position to examine message.It can be 'latest' or 'earliest' - |
messagePosition | integer <int64> Default: 1 The position of messages (default 1) - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
isGlobal | boolean Default: false |
inactive topic policies for the specified topic
-deleteWhileInactive | boolean |
inactiveTopicDeleteMode | string Enum: "delete_when_no_subscriptions" "delete_when_subscriptions_caught_up" |
maxInactiveDurationSeconds | integer <int32> |
{- "deleteWhileInactive": true,
- "inactiveTopicDeleteMode": "delete_when_no_subscriptions",
- "maxInactiveDurationSeconds": 0
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
metadata | boolean Default: false |
{- "compactedLedger": {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}, - "currentLedgerEntries": 0,
- "currentLedgerSize": 0,
- "cursors": {
- "property1": {
- "cursorLedger": 0,
- "cursorLedgerLastEntry": 0,
- "individuallyDeletedMessages": "string",
- "lastLedgerSwitchTimestamp": "string",
- "markDeletePosition": "string",
- "messagesConsumedCounter": 0,
- "numberOfEntriesSinceFirstNotAckedMessage": 0,
- "pendingReadOps": 0,
- "properties": {
- "property1": 0,
- "property2": 0
}, - "readPosition": "string",
- "state": "string",
- "subscriptionHavePendingRead": true,
- "subscriptionHavePendingReplayRead": true,
- "totalNonContiguousDeletedMessagesRange": 0,
- "waitingReadOp": true
}, - "property2": {
- "cursorLedger": 0,
- "cursorLedgerLastEntry": 0,
- "individuallyDeletedMessages": "string",
- "lastLedgerSwitchTimestamp": "string",
- "markDeletePosition": "string",
- "messagesConsumedCounter": 0,
- "numberOfEntriesSinceFirstNotAckedMessage": 0,
- "pendingReadOps": 0,
- "properties": {
- "property1": 0,
- "property2": 0
}, - "readPosition": "string",
- "state": "string",
- "subscriptionHavePendingRead": true,
- "subscriptionHavePendingReplayRead": true,
- "totalNonContiguousDeletedMessagesRange": 0,
- "waitingReadOp": true
}
}, - "entriesAddedCounter": 0,
- "lastConfirmedEntry": "string",
- "lastLedgerCreatedTimestamp": "string",
- "lastLedgerCreationFailureTimestamp": "string",
- "ledgers": [
- {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}
], - "numberOfEntries": 0,
- "pendingAddEntriesCount": 0,
- "schemaLedgers": [
- {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}
], - "state": "string",
- "totalSize": 0,
- "waitingCursorsCount": 0
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
ledgerId required | integer <int64> The ledger id - |
entryId required | integer <int64> The entry id - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
The max message size of the topic
-0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
The max subscriptions of the topic
-0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Max unacked messages on subscription policies for the specified topic
-0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
timestamp required | integer <int64> Specify the timestamp - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
perPartition | boolean Default: true Get per partition stats - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
getPreciseBacklog | boolean Default: false If return precise backlog or imprecise backlog - |
subscriptionBacklogSize | boolean Default: false If return backlog size for each subscription, require locking on ledger so be careful not to use when there's heavy traffic. - |
getEarliestTimeInBacklog | boolean Default: false If return the earliest time in backlog - |
It will also delete all the partitions of the topic if it exists.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
force | boolean Default: false Stop all producer/consumer/replicator and delete topic forcefully - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
deleteSchema | boolean Default: false Delete the topic's schema storage - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
checkAllowAutoCreation | boolean Default: false Is check configuration required to automatically create topic - |
It only increments partitions of existing non-global partitioned-topic
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
updateLocalTopicOnly | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
force | boolean Default: false |
The number of partitions for the topic
-0
It needs to be called before creating a producer on a partitioned topic.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
createLocalTopicOnly | boolean Default: false |
The metadata for the topic
-partitions | integer <int32> |
object |
{- "partitions": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
Retrieve the effective permissions for a topic. These permissions are defined by the permissions set at thenamespace level combined (union) with any eventual specific permission set on the topic.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
{- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}
Revoke permissions to a role on a single topic. If the permission was not set at the topiclevel, but rather at the namespace level, this operation will return an error (HTTP status code 412).
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
role required | string Client role to which grant permissions - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
role required | string Client role to which grant permissions - |
Actions to be granted (produce,functions,consume)
-[- "produce"
]
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
backlogQuotaType | string Enum: "destination_storage" "message_age" |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
List of replication clusters
-[- "string"
]
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Replicator dispatch rate of the topic
-dispatchThrottlingRateInByte | integer <int64> |
dispatchThrottlingRateInMsg | integer <int32> |
ratePeriodInSecond | integer <int32> |
relativeToPublishRate | boolean |
{- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
isGlobal | boolean Default: false |
Retention policies for the specified namespace
-retentionSizeInMB | integer <int64> |
retentionTimeInMinutes | integer <int32> |
{- "retentionSizeInMB": 0,
- "retentionTimeInMinutes": 0
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Strategy used to check the compatibility of new schema
-"string"
tenant required | string Specify the tenant - |
namespace required | string Specify the cluster - |
topic required | string Specify topic name - |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Strategy used to check the compatibility of new schema
-"string"
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
getPreciseBacklog | boolean Default: false If return precise backlog or imprecise backlog - |
subscriptionBacklogSize | boolean Default: false If return backlog size for each subscription, require locking on ledger so be careful not to use when there's heavy traffic. - |
getEarliestTimeInBacklog | boolean Default: false If return time of the earliest message in backlog - |
{- "averageMsgSize": 0.1,
- "backlogSize": 0,
- "bytesInCounter": 0,
- "bytesOutCounter": 0,
- "compaction": {
- "lastCompactionDurationTimeInMills": 0,
- "lastCompactionFailedTimestamp": 0,
- "lastCompactionRemovedEventCount": 0,
- "lastCompactionSucceedTimestamp": 0
}, - "deduplicationStatus": "string",
- "earliestMsgPublishTimeInBacklogs": 0,
- "msgChunkPublished": true,
- "msgInCounter": 0,
- "msgOutCounter": 0,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "offloadedStorageSize": 0,
- "publishers": [
- {
- "accessMode": "Shared",
- "address": "string",
- "averageMsgSize": 0.1,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgRateIn": 0.1,
- "msgThroughputIn": 0.1,
- "producerId": 0,
- "producerName": "string",
- "supportsPartialProducer": true
}
], - "replication": {
- "property1": {
- "connected": true,
- "inboundConnectedSince": "string",
- "inboundConnection": "string",
- "msgRateExpired": 0.1,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "outboundConnectedSince": "string",
- "outboundConnection": "string",
- "replicationBacklog": 0,
- "replicationDelayInSeconds": 0
}, - "property2": {
- "connected": true,
- "inboundConnectedSince": "string",
- "inboundConnection": "string",
- "msgRateExpired": 0.1,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "outboundConnectedSince": "string",
- "outboundConnection": "string",
- "replicationBacklog": 0,
- "replicationDelayInSeconds": 0
}
}, - "storageSize": 0,
- "subscriptions": {
- "property1": {
- "activeConsumerName": "string",
- "allowOutOfOrderDelivery": true,
- "backlogSize": 0,
- "blockedSubscriptionOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0,
- "consumers": [
- {
- "address": "string",
- "availablePermits": 0,
- "avgMessagesPerEntry": 0,
- "blockedConsumerOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "consumerName": "string",
- "keyHashRanges": [
- "string"
], - "lastAckedTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "messageAckRate": 0.1,
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgOutCounter": 0,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "readPositionWhenJoining": "string",
- "unackedMessages": 0
}
], - "consumersAfterMarkDeletePosition": {
- "property1": "string",
- "property2": "string"
}, - "durable": true,
- "earliestMsgPublishTimeInBacklog": 0,
- "keySharedMode": "string",
- "lastAckedTimestamp": 0,
- "lastConsumedFlowTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "lastExpireTimestamp": 0,
- "lastMarkDeleteAdvancedTimestamp": 0,
- "messageAckRate": 0.1,
- "msgBacklog": 0,
- "msgBacklogNoDelayed": 0,
- "msgDelayed": 0,
- "msgOutCounter": 0,
- "msgRateExpired": 0.1,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "replicated": true,
- "subscriptionProperties": {
- "property1": "string",
- "property2": "string"
}, - "totalMsgExpired": 0,
- "type": "string",
- "unackedMessages": 0
}, - "property2": {
- "activeConsumerName": "string",
- "allowOutOfOrderDelivery": true,
- "backlogSize": 0,
- "blockedSubscriptionOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0,
- "consumers": [
- {
- "address": "string",
- "availablePermits": 0,
- "avgMessagesPerEntry": 0,
- "blockedConsumerOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "consumerName": "string",
- "keyHashRanges": [
- "string"
], - "lastAckedTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "messageAckRate": 0.1,
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgOutCounter": 0,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "readPositionWhenJoining": "string",
- "unackedMessages": 0
}
], - "consumersAfterMarkDeletePosition": {
- "property1": "string",
- "property2": "string"
}, - "durable": true,
- "earliestMsgPublishTimeInBacklog": 0,
- "keySharedMode": "string",
- "lastAckedTimestamp": 0,
- "lastConsumedFlowTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "lastExpireTimestamp": 0,
- "lastMarkDeleteAdvancedTimestamp": 0,
- "messageAckRate": 0.1,
- "msgBacklog": 0,
- "msgBacklogNoDelayed": 0,
- "msgDelayed": 0,
- "msgOutCounter": 0,
- "msgRateExpired": 0.1,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "replicated": true,
- "subscriptionProperties": {
- "property1": "string",
- "property2": "string"
}, - "totalMsgExpired": 0,
- "type": "string",
- "unackedMessages": 0
}
}, - "topicEpoch": 0,
- "waitingPublishers": 0
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
The subscription cannot be deleted if delete is not forcefully and there are any active consumers attached to it. Force delete ignores connected consumers and deletes subscription by explicitly closing them.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to be deleted - |
force | boolean Default: false Disconnect and close all consumers and delete subscription forcefully - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to be Expiry messages on - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
messageId to reset back to (ledgerId:entryId)
-batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to be Expiry messages on - |
expireTimeInSeconds required | integer <int32> Default: 0 Expires beyond the specified number of seconds - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscribed message expired - |
messagePosition required | integer <int32> Default: 1 The number of messages (default 1) - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to update - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
The new properties
-property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Name of subscription - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Name of subscription - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Whether to enable replicated subscription
-true
It fence cursor and disconnects all active consumers before reseting cursor.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to reset position on - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
messageId to reset back to (ledgerId:entryId)
-batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
It fence cursor and disconnects all active consumers before reseting cursor.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Subscription to reset position on - |
timestamp required | integer <int64> the timestamp to reset back - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Name of subscription - |
numMessages required | integer <int32> Default: 0 The number of messages to skip - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Completely clears the backlog on the subscription.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subName required | string Name of subscription - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Creates a subscription on the topic at the specified message id
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
subscriptionName required | string Subscription to create position on - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
replicated | boolean Is replicated required to perform this operation - |
messageId where to create the subscription. It can be 'latest', 'earliest' or (ledgerId:entryId)
-batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
Enable sub types for the specified topic
-[- "Exclusive"
]
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
{ }
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
The truncate operation will move all cursors to the end of the topic and delete all inactive ledgers.
-tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Specify the tenant - |
namespace required | string Specify the namespace - |
topic required | string Specify topic name - |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. - |
tenant required | string Tenant name - |
namespace required | string Namespace name within the specified tenant - |
bundle required | string Namespace bundle range - |
{- "bandwidthIn": 0.1,
- "bandwidthOut": 0.1,
- "dynamic": true,
- "memory": 0.1,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1
}
resourcegroup required | string |
Rate limiters for the resourcegroup
-dispatchRateInBytes | integer <int64> |
dispatchRateInMsgs | integer <int32> |
publishRateInBytes | integer <int64> |
publishRateInMsgs | integer <int32> |
{- "dispatchRateInBytes": 0,
- "dispatchRateInMsgs": 0,
- "publishRateInBytes": 0,
- "publishRateInMsgs": 0
}
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false |
A JSON value presenting a schema payload. An example of the expected schema can be found down here.
-object | |
schema | string |
type | string |
null
{- "compatibility": true,
- "schemaCompatibilityStrategy": "string"
}
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false |
{- "data": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "timestamp": 0,
- "type": "NONE",
- "version": 0
}
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false |
A JSON value presenting a schema payload. An example of the expected schema can be found down here.
-object | |
schema | string |
type | string |
null
{- "version": { }
}
tenant required | string |
namespace required | string |
topic required | string |
version required | string |
authoritative | boolean Default: false |
{- "data": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "timestamp": 0,
- "type": "NONE",
- "version": 0
}
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false |
{- "getSchemaResponses": [
- {
- "data": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "timestamp": 0,
- "type": "NONE",
- "version": 0
}
]
}
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false |
A JSON value presenting a schema payload. An example of the expected schema can be found down here.
-object | |
schema | string |
type | string |
null
{- "version": 0
}
Requested should be executed by Monitoring agent on each worker to fetch the metrics
-[- {
- "metrics": {
- "avgProcessLatency": 0.1,
- "lastInvocation": 0,
- "oneMin": {
- "avgProcessLatency": 0.1,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0
}, - "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0,
- "userMetrics": {
- "property1": 0.1,
- "property2": 0.1
}
}, - "name": "string"
}
]
Request should be executed by Monitoring agent on each worker to fetch the worker-metrics
-[- {
- "dimensions": {
- "property1": "string",
- "property2": "string"
}, - "metrics": {
- "property1": { },
- "property2": { }
}
}
]
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
{- "autoAck": true,
- "batchBuilder": "string",
- "className": "string",
- "cleanupSubscription": true,
- "customRuntimeOptions": "string",
- "customSchemaInputs": {
- "property1": "string",
- "property2": "string"
}, - "customSchemaOutputs": {
- "property1": "string",
- "property2": "string"
}, - "customSerdeInputs": {
- "property1": "string",
- "property2": "string"
}, - "deadLetterTopic": "string",
- "exposePulsarAdminClientEnabled": true,
- "forwardSourceMessageProperty": true,
- "fqfn": "string",
- "go": "string",
- "inputSpecs": {
- "property1": {
- "consumerProperties": {
- "property1": "string",
- "property2": "string"
}, - "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "poolMessages": true,
- "receiverQueueSize": 0,
- "regexPattern": true,
- "schemaProperties": {
- "property1": "string",
- "property2": "string"
}, - "schemaType": "string",
- "serdeClassName": "string"
}, - "property2": {
- "consumerProperties": {
- "property1": "string",
- "property2": "string"
}, - "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "poolMessages": true,
- "receiverQueueSize": 0,
- "regexPattern": true,
- "schemaProperties": {
- "property1": "string",
- "property2": "string"
}, - "schemaType": "string",
- "serdeClassName": "string"
}
}, - "inputs": [
- "string"
], - "jar": "string",
- "logTopic": "string",
- "maxMessageRetries": 0,
- "maxPendingAsyncRequests": 0,
- "name": "string",
- "namespace": "string",
- "output": "string",
- "outputSchemaType": "string",
- "outputSerdeClassName": "string",
- "parallelism": 0,
- "processingGuarantees": "ATLEAST_ONCE",
- "producerConfig": {
- "batchBuilder": "string",
- "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "maxPendingMessages": 0,
- "maxPendingMessagesAcrossPartitions": 0,
- "useThreadLocalProducers": true
}, - "py": "string",
- "resources": {
- "cpu": 0.1,
- "disk": 0,
- "ram": 0
}, - "retainKeyOrdering": true,
- "retainOrdering": true,
- "runtime": "JAVA",
- "runtimeFlags": "string",
- "secrets": {
- "property1": { },
- "property2": { }
}, - "subName": "string",
- "subscriptionPosition": "Latest",
- "tenant": "string",
- "timeoutMs": 0,
- "topicsPattern": "string",
- "userConfig": {
- "property1": { },
- "property2": { }
}, - "windowConfig": {
- "actualWindowFunctionClassName": "string",
- "lateDataTopic": "string",
- "maxLagMs": 0,
- "slidingIntervalCount": 0,
- "slidingIntervalDurationMs": 0,
- "timestampExtractorClassName": "string",
- "watermarkEmitIntervalMs": 0,
- "windowLengthCount": 0,
- "windowLengthDurationMs": 0
}
}
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
Download OpenAPI specification:Download
Compatible source Pulsar Admin API endpoints on DataStax Astra Streaming
+allocator required | string |
{- "directArenas": [
- {
- "chunkLists": [
- {
- "chunks": [
- {
- "chunkSize": 0,
- "freeBytes": 0,
- "usage": 0
}
], - "maxUsage": 0,
- "minUsage": 0
}
], - "numActiveAllocations": 0,
- "numActiveHugeAllocations": 0,
- "numActiveNormalAllocations": 0,
- "numActiveSmallAllocations": 0,
- "numAllocations": 0,
- "numChunkLists": 0,
- "numDeallocations": 0,
- "numHugeAllocations": 0,
- "numHugeDeallocations": 0,
- "numNormalAllocations": 0,
- "numNormalDeallocations": 0,
- "numSmallAllocations": 0,
- "numSmallDeallocations": 0,
- "numSmallSubpages": 0,
- "smallSubpages": [
- {
- "elementSize": 0,
- "maxNumElements": 0,
- "numAvailable": 0,
- "pageSize": 0
}
]
}
], - "heapArenas": [
- {
- "chunkLists": [
- {
- "chunks": [
- {
- "chunkSize": 0,
- "freeBytes": 0,
- "usage": 0
}
], - "maxUsage": 0,
- "minUsage": 0
}
], - "numActiveAllocations": 0,
- "numActiveHugeAllocations": 0,
- "numActiveNormalAllocations": 0,
- "numActiveSmallAllocations": 0,
- "numAllocations": 0,
- "numChunkLists": 0,
- "numDeallocations": 0,
- "numHugeAllocations": 0,
- "numHugeDeallocations": 0,
- "numNormalAllocations": 0,
- "numNormalDeallocations": 0,
- "numSmallAllocations": 0,
- "numSmallDeallocations": 0,
- "numSmallSubpages": 0,
- "smallSubpages": [
- {
- "elementSize": 0,
- "maxNumElements": 0,
- "numAvailable": 0,
- "pageSize": 0
}
]
}
], - "normalCacheSize": 0,
- "numDirectArenas": 0,
- "numHeapArenas": 0,
- "numThreadLocalCaches": 0,
- "smallCacheSize": 0
}
{- "property1": {
- "cursorLedgerCloseOp": 0,
- "cursorLedgerCreateOp": 0,
- "cursorLedgerDeleteOp": 0,
- "cursorLedgerOpenOp": 0,
- "dataLedgerCloseOp": 0,
- "dataLedgerCreateOp": 0,
- "dataLedgerDeleteOp": 0,
- "dataLedgerOpenOp": 0
}, - "property2": {
- "cursorLedgerCloseOp": 0,
- "cursorLedgerCreateOp": 0,
- "cursorLedgerDeleteOp": 0,
- "cursorLedgerOpenOp": 0,
- "dataLedgerCloseOp": 0,
- "dataLedgerCreateOp": 0,
- "dataLedgerDeleteOp": 0,
- "dataLedgerOpenOp": 0
}
}
This API gives the current broker availability in percent, each resource percentage usage is calculated and thensum of all of the resource usage percent is called broker-resource-availability
THIS API IS ONLY FOR USE BY TESTING FOR CONFIRMING NAMESPACE ALLOCATION ALGORITHM
tenant required | string |
namespace required | string |
{- "property1": {
- "availableResource": {
- "resourceUsage": {
- "property1": {
- "limit": 0.1,
- "usage": 0.1
}, - "property2": {
- "limit": 0.1,
- "usage": 0.1
}
}, - "usagePct": 0
}, - "resourceId": "string"
}, - "property2": {
- "availableResource": {
- "resourceUsage": {
- "property1": {
- "limit": 0.1,
- "usage": 0.1
}, - "property2": {
- "limit": 0.1,
- "usage": 0.1
}
}, - "usagePct": 0
}, - "resourceId": "string"
}
}
consists of topics stats & systemResourceUsage
+{- "allocatedBandwidthIn": 0.1,
- "allocatedBandwidthOut": 0.1,
- "allocatedCPU": 0.1,
- "allocatedMemory": 0.1,
- "allocatedMsgRateIn": 0.1,
- "allocatedMsgRateOut": 0.1,
- "bandwidthIn": {
- "limit": 0.1,
- "usage": 0.1
}, - "bandwidthOut": {
- "limit": 0.1,
- "usage": 0.1
}, - "brokerVersionString": "string",
- "bundleGains": [
- "string"
], - "bundleLosses": [
- "string"
], - "bundleStats": {
- "property1": {
- "cacheSize": 0,
- "consumerCount": 0,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "producerCount": 0,
- "topics": 0
}, - "property2": {
- "cacheSize": 0,
- "consumerCount": 0,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "producerCount": 0,
- "topics": 0
}
}, - "cpu": {
- "limit": 0.1,
- "usage": 0.1
}, - "directMemory": {
- "limit": 0.1,
- "usage": 0.1
}, - "lastUpdate": 0,
- "loadReportType": "string",
- "memory": {
- "limit": 0.1,
- "usage": 0.1
}, - "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "name": "string",
- "nonPersistentTopicsEnabled": true,
- "numBundles": 0,
- "numConsumers": 0,
- "numProducers": 0,
- "numTopics": 0,
- "overLoaded": true,
- "persistentTopicsEnabled": true,
- "preAllocatedBandwidthIn": 0.1,
- "preAllocatedBandwidthOut": 0.1,
- "preAllocatedCPU": 0.1,
- "preAllocatedMemory": 0.1,
- "preAllocatedMsgRateIn": 0.1,
- "preAllocatedMsgRateOut": 0.1,
- "protocols": {
- "property1": "string",
- "property2": "string"
}, - "pulsarServiceUrl": "string",
- "pulsarServiceUrlTls": "string",
- "systemResourceUsage": {
- "bandwidthIn": {
- "limit": 0.1,
- "usage": 0.1
}, - "bandwidthOut": {
- "limit": 0.1,
- "usage": 0.1
}, - "cpu": {
- "limit": 0.1,
- "usage": 0.1
}, - "directMemory": {
- "limit": 0.1,
- "usage": 0.1
}, - "memory": {
- "limit": 0.1,
- "usage": 0.1
}
}, - "timestamp": 0,
- "underLoaded": true,
- "webServiceUrl": "string",
- "webServiceUrlTls": "string"
}
Requested should be executed by Monitoring agent on each broker to fetch the metrics
+[- {
- "dimensions": {
- "property1": "string",
- "property2": "string"
}, - "metrics": {
- "property1": { },
- "property2": { }
}
}
]
This operation requires Pulsar superuser privileges.
+cluster required | string The cluster name + |
{- "authenticationParameters": "string",
- "authenticationPlugin": "org.apache.pulsar.client.impl.auth.AuthenticationToken",
- "brokerClientTlsEnabled": true,
- "brokerClientTlsEnabledWithKeyStore": true,
- "brokerClientTlsTrustStore": "string",
- "brokerClientTlsTrustStorePassword": "string",
- "brokerClientTlsTrustStoreType": "JKS",
- "brokerClientTrustCertsFilePath": "string",
- "brokerServiceUrl": "pulsar://pulsar.example.com:6650",
- "brokerServiceUrlTls": "pulsar+ssl://pulsar.example.com:6651",
- "listenerName": "string",
- "peerClusterNames": [
- "string"
], - "proxyProtocol": "SNI",
- "proxyServiceUrl": "pulsar+ssl://ats-proxy.example.com:4443 or pulsar://ats-proxy.example.com:4080",
- "tlsAllowInsecureConnection": true
}
This operation requires Pulsar superuser privileges.
+cluster required | string The cluster name + |
{- "property1": {
- "brokers": "[ 'broker-1', 'broker-2' ]"
}, - "property2": {
- "brokers": "[ 'broker-1', 'broker-2' ]"
}
}
This operation requires Pulsar superuser privileges.
+cluster required | string The cluster name + |
domainName required | string The failure domain name + |
{- "brokers": "[ 'broker-1', 'broker-2' ]"
}
This operation requires Pulsar superuser privileges.
+cluster required | string The cluster name + |
{- "property1": {
- "auto_failover_policy": {
- "parameters": {
- "property1": "string",
- "property2": "string"
}, - "policyType": "min_available"
}, - "namespaces": [
- "string"
], - "primary": [
- "string"
], - "secondary": [
- "string"
]
}, - "property2": {
- "auto_failover_policy": {
- "parameters": {
- "property1": "string",
- "property2": "string"
}, - "policyType": "min_available"
}, - "namespaces": [
- "string"
], - "primary": [
- "string"
], - "secondary": [
- "string"
]
}
}
This operation requires Pulsar superuser privileges.
+cluster required | string The cluster name + |
[- {
- "brokerName": "broker1:8080",
- "namespaceRegex": [
- "string"
], - "policyName": "my-policy",
- "primary": true
}
]
This operation requires Pulsar superuser privileges.
+cluster required | string The cluster name + |
broker required | string Example: broker1:8080 The broker name ( |
{- "brokerName": "broker1:8080",
- "namespaceRegex": [
- "string"
], - "policyName": "my-policy",
- "primary": true
}
This operation requires Pulsar superuser privileges.
+cluster required | string The cluster name + |
policyName required | string The name of the namespace isolation policy + |
{- "auto_failover_policy": {
- "parameters": {
- "property1": "string",
- "property2": "string"
}, - "policyType": "min_available"
}, - "namespaces": [
- "string"
], - "primary": [
- "string"
], - "secondary": [
- "string"
]
}
cluster required | string |
group required | string |
tenant | string |
[- "string"
]
tenant required | string |
namespace required | string |
{- "auth_policies": {
- "namespaceAuthentication": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}, - "subscriptionAuthentication": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "topicAuthentication": {
- "property1": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}, - "property2": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}
}
}, - "autoSubscriptionCreationOverride": {
- "allowAutoSubscriptionCreation": true
}, - "autoTopicCreationOverride": {
- "allowAutoTopicCreation": true,
- "defaultNumPartitions": 0,
- "topicType": "string"
}, - "backlog_quota_map": {
- "property1": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}, - "property2": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}
}, - "bundles": {
- "boundaries": [
- "string"
], - "numBundles": 0
}, - "clusterDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "clusterSubscribeRate": {
- "property1": {
- "ratePeriodInSecond": 0,
- "subscribeThrottlingRatePerConsumer": 0
}, - "property2": {
- "ratePeriodInSecond": 0,
- "subscribeThrottlingRatePerConsumer": 0
}
}, - "compaction_threshold": 0,
- "deduplicationEnabled": true,
- "deduplicationSnapshotIntervalSeconds": 0,
- "delayed_delivery_policies": {
- "active": true,
- "tickTime": 0
}, - "deleted": true,
- "encryption_required": true,
- "inactive_topic_policies": {
- "deleteWhileInactive": true,
- "inactiveTopicDeleteMode": "delete_when_no_subscriptions",
- "maxInactiveDurationSeconds": 0
}, - "is_allow_auto_update_schema": true,
- "latency_stats_sample_rate": {
- "property1": 0,
- "property2": 0
}, - "max_consumers_per_subscription": 0,
- "max_consumers_per_topic": 0,
- "max_producers_per_topic": 0,
- "max_subscriptions_per_topic": 0,
- "max_topics_per_namespace": 0,
- "max_unacked_messages_per_consumer": 0,
- "max_unacked_messages_per_subscription": 0,
- "message_ttl_in_seconds": 0,
- "offload_deletion_lag_ms": 0,
- "offload_policies": {
- "fileSystemProfilePath": "string",
- "fileSystemURI": "string",
- "gcsManagedLedgerOffloadBucket": "string",
- "gcsManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "gcsManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "gcsManagedLedgerOffloadRegion": "string",
- "gcsManagedLedgerOffloadServiceAccountKeyFile": "string",
- "managedLedgerOffloadBucket": "string",
- "managedLedgerOffloadDeletionLagInMillis": 0,
- "managedLedgerOffloadDriver": "string",
- "managedLedgerOffloadMaxBlockSizeInBytes": 0,
- "managedLedgerOffloadMaxThreads": 0,
- "managedLedgerOffloadPrefetchRounds": 0,
- "managedLedgerOffloadReadBufferSizeInBytes": 0,
- "managedLedgerOffloadRegion": "string",
- "managedLedgerOffloadServiceEndpoint": "string",
- "managedLedgerOffloadThresholdInBytes": 0,
- "managedLedgerOffloadedReadPriority": "BOOKKEEPER_FIRST",
- "offloadersDirectory": "string",
- "s3ManagedLedgerOffloadBucket": "string",
- "s3ManagedLedgerOffloadCredentialId": "string",
- "s3ManagedLedgerOffloadCredentialSecret": "string",
- "s3ManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "s3ManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "s3ManagedLedgerOffloadRegion": "string",
- "s3ManagedLedgerOffloadRole": "string",
- "s3ManagedLedgerOffloadRoleSessionName": "string",
- "s3ManagedLedgerOffloadServiceEndpoint": "string"
}, - "offload_threshold": 0,
- "persistence": {
- "bookkeeperAckQuorum": 0,
- "bookkeeperEnsemble": 0,
- "bookkeeperWriteQuorum": 0,
- "managedLedgerMaxMarkDeleteRate": 0.1
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "publishMaxMessageRate": {
- "property1": {
- "publishThrottlingRateInByte": 0,
- "publishThrottlingRateInMsg": 0
}, - "property2": {
- "publishThrottlingRateInByte": 0,
- "publishThrottlingRateInMsg": 0
}
}, - "replication_clusters": [
- "string"
], - "replicatorDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "resource_group_name": "string",
- "retention_policies": {
- "retentionSizeInMB": 0,
- "retentionTimeInMinutes": 0
}, - "schema_auto_update_compatibility_strategy": "AutoUpdateDisabled",
- "schema_compatibility_strategy": "UNDEFINED",
- "schema_validation_enforced": true,
- "subscriptionDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "subscription_auth_mode": "None",
- "subscription_expiration_time_minutes": 0,
- "subscription_types_enabled": [
- "string"
], - "topicDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}
}
tenant required | string |
namespace required | string |
Policies for the namespace
+object (AuthPolicies) | |
object (AutoSubscriptionCreationOverride) | |
object (AutoTopicCreationOverride) | |
object | |
object (BundlesData) | |
object | |
object | |
compaction_threshold | integer <int64> |
deduplicationEnabled | boolean |
deduplicationSnapshotIntervalSeconds | integer <int32> |
object (DelayedDeliveryPolicies) | |
deleted | boolean |
encryption_required | boolean |
object (InactiveTopicPolicies) | |
is_allow_auto_update_schema | boolean |
object | |
max_consumers_per_subscription | integer <int32> |
max_consumers_per_topic | integer <int32> |
max_producers_per_topic | integer <int32> |
max_subscriptions_per_topic | integer <int32> |
max_topics_per_namespace | integer <int32> |
max_unacked_messages_per_consumer | integer <int32> |
max_unacked_messages_per_subscription | integer <int32> |
message_ttl_in_seconds | integer <int32> |
offload_deletion_lag_ms | integer <int64> |
object (OffloadPolicies) | |
offload_threshold | integer <int64> |
object (PersistencePolicies) | |
object | |
object | |
replication_clusters | Array of strings unique |
object | |
resource_group_name | string |
object (RetentionPolicies) | |
schema_auto_update_compatibility_strategy | string Enum: "AutoUpdateDisabled" "Backward" "Forward" "Full" "AlwaysCompatible" "BackwardTransitive" "ForwardTransitive" "FullTransitive" |
schema_compatibility_strategy | string Enum: "UNDEFINED" "ALWAYS_INCOMPATIBLE" "ALWAYS_COMPATIBLE" "BACKWARD" "FORWARD" "FULL" "BACKWARD_TRANSITIVE" "FORWARD_TRANSITIVE" "FULL_TRANSITIVE" |
schema_validation_enforced | boolean |
object | |
subscription_auth_mode | string Enum: "None" "Prefix" |
subscription_expiration_time_minutes | integer <int32> |
subscription_types_enabled | Array of strings unique |
object |
{- "auth_policies": {
- "namespaceAuthentication": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}, - "subscriptionAuthentication": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "topicAuthentication": {
- "property1": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}, - "property2": {
- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}
}
}, - "autoSubscriptionCreationOverride": {
- "allowAutoSubscriptionCreation": true
}, - "autoTopicCreationOverride": {
- "allowAutoTopicCreation": true,
- "defaultNumPartitions": 0,
- "topicType": "string"
}, - "backlog_quota_map": {
- "property1": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}, - "property2": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}
}, - "bundles": {
- "boundaries": [
- "string"
], - "numBundles": 0
}, - "clusterDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "clusterSubscribeRate": {
- "property1": {
- "ratePeriodInSecond": 0,
- "subscribeThrottlingRatePerConsumer": 0
}, - "property2": {
- "ratePeriodInSecond": 0,
- "subscribeThrottlingRatePerConsumer": 0
}
}, - "compaction_threshold": 0,
- "deduplicationEnabled": true,
- "deduplicationSnapshotIntervalSeconds": 0,
- "delayed_delivery_policies": {
- "active": true,
- "tickTime": 0
}, - "deleted": true,
- "encryption_required": true,
- "inactive_topic_policies": {
- "deleteWhileInactive": true,
- "inactiveTopicDeleteMode": "delete_when_no_subscriptions",
- "maxInactiveDurationSeconds": 0
}, - "is_allow_auto_update_schema": true,
- "latency_stats_sample_rate": {
- "property1": 0,
- "property2": 0
}, - "max_consumers_per_subscription": 0,
- "max_consumers_per_topic": 0,
- "max_producers_per_topic": 0,
- "max_subscriptions_per_topic": 0,
- "max_topics_per_namespace": 0,
- "max_unacked_messages_per_consumer": 0,
- "max_unacked_messages_per_subscription": 0,
- "message_ttl_in_seconds": 0,
- "offload_deletion_lag_ms": 0,
- "offload_policies": {
- "fileSystemProfilePath": "string",
- "fileSystemURI": "string",
- "gcsManagedLedgerOffloadBucket": "string",
- "gcsManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "gcsManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "gcsManagedLedgerOffloadRegion": "string",
- "gcsManagedLedgerOffloadServiceAccountKeyFile": "string",
- "managedLedgerOffloadBucket": "string",
- "managedLedgerOffloadDeletionLagInMillis": 0,
- "managedLedgerOffloadDriver": "string",
- "managedLedgerOffloadMaxBlockSizeInBytes": 0,
- "managedLedgerOffloadMaxThreads": 0,
- "managedLedgerOffloadPrefetchRounds": 0,
- "managedLedgerOffloadReadBufferSizeInBytes": 0,
- "managedLedgerOffloadRegion": "string",
- "managedLedgerOffloadServiceEndpoint": "string",
- "managedLedgerOffloadThresholdInBytes": 0,
- "managedLedgerOffloadedReadPriority": "BOOKKEEPER_FIRST",
- "offloadersDirectory": "string",
- "s3ManagedLedgerOffloadBucket": "string",
- "s3ManagedLedgerOffloadCredentialId": "string",
- "s3ManagedLedgerOffloadCredentialSecret": "string",
- "s3ManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "s3ManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "s3ManagedLedgerOffloadRegion": "string",
- "s3ManagedLedgerOffloadRole": "string",
- "s3ManagedLedgerOffloadRoleSessionName": "string",
- "s3ManagedLedgerOffloadServiceEndpoint": "string"
}, - "offload_threshold": 0,
- "persistence": {
- "bookkeeperAckQuorum": 0,
- "bookkeeperEnsemble": 0,
- "bookkeeperWriteQuorum": 0,
- "managedLedgerMaxMarkDeleteRate": 0.1
}, - "properties": {
- "property1": "string",
- "property2": "string"
}, - "publishMaxMessageRate": {
- "property1": {
- "publishThrottlingRateInByte": 0,
- "publishThrottlingRateInMsg": 0
}, - "property2": {
- "publishThrottlingRateInByte": 0,
- "publishThrottlingRateInMsg": 0
}
}, - "replication_clusters": [
- "string"
], - "replicatorDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "resource_group_name": "string",
- "retention_policies": {
- "retentionSizeInMB": 0,
- "retentionTimeInMinutes": 0
}, - "schema_auto_update_compatibility_strategy": "AutoUpdateDisabled",
- "schema_compatibility_strategy": "UNDEFINED",
- "schema_validation_enforced": true,
- "subscriptionDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}, - "subscription_auth_mode": "None",
- "subscription_expiration_time_minutes": 0,
- "subscription_types_enabled": [
- "string"
], - "topicDispatchRate": {
- "property1": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}, - "property2": {
- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
}
}
tenant required | string |
namespace required | string |
Settings for automatic subscription creation
+allowAutoSubscriptionCreation | boolean |
{- "allowAutoSubscriptionCreation": true
}
tenant required | string |
namespace required | string |
Settings for automatic topic creation
+allowAutoTopicCreation | boolean |
defaultNumPartitions | integer <int32> |
topicType | string |
{- "allowAutoTopicCreation": true,
- "defaultNumPartitions": 0,
- "topicType": "string"
}
tenant required | string |
namespace required | string |
backlogQuotaType | string Enum: "destination_storage" "message_age" |
Backlog quota for all topics of the specified namespace
+limit | integer <int64> |
limitSize | integer <int64> |
limitTime | integer <int32> |
policy | string Enum: "producer_request_hold" "producer_exception" "consumer_backlog_eviction" |
{- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}
tenant required | string |
namespace required | string |
{- "property1": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}, - "property2": {
- "limit": 0,
- "limitSize": 0,
- "limitTime": 0,
- "policy": "producer_request_hold"
}
}
The backlog size is compared to the threshold periodically. A threshold of 0 disabled automatic compaction
+tenant required | string |
namespace required | string |
0
The backlog size is compared to the threshold periodically. A threshold of 0 disabled automatic compaction
+tenant required | string |
namespace required | string |
Maximum number of uncompacted bytes in a topic of the specified namespace
+0
tenant required | string |
namespace required | string |
Flag for disabling or enabling broker side deduplication for all topics in the specified namespace
+true
tenant required | string |
namespace required | string |
Interval to take deduplication snapshot per topic
+0
tenant required | string |
namespace required | string |
Delayed delivery policies for the specified namespace
+active | boolean |
tickTime | integer <int64> |
{- "active": true,
- "tickTime": 0
}
tenant required | string |
namespace required | string |
{- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
tenant required | string |
namespace required | string |
Flag defining if message encryption is required
+true
tenant required | string |
namespace required | string |
{- "deleteWhileInactive": true,
- "inactiveTopicDeleteMode": "delete_when_no_subscriptions",
- "maxInactiveDurationSeconds": 0
}
tenant required | string |
namespace required | string |
Inactive topic policies for the specified namespace
+deleteWhileInactive | boolean |
inactiveTopicDeleteMode | string Enum: "delete_when_no_subscriptions" "delete_when_subscriptions_caught_up" |
maxInactiveDurationSeconds | integer <int32> |
{- "deleteWhileInactive": true,
- "inactiveTopicDeleteMode": "delete_when_no_subscriptions",
- "maxInactiveDurationSeconds": 0
}
tenant required | string |
namespace required | string |
Number of maximum consumers per subscription
+0
tenant required | string |
namespace required | string |
Number of maximum subscriptions per topic
+0
tenant required | string |
namespace required | string |
Number of maximum topics for specific namespace
+0
tenant required | string |
namespace required | string |
Number of maximum unacked messages per consumer
+0
tenant required | string |
namespace required | string |
Number of maximum unacked messages per subscription
+0
A negative value denotes that deletion has been completely disabled. 'null' denotes that the topics in the namespace will fall back to the broker default for deletion lag.
+tenant required | string |
namespace required | string |
0
tenant required | string |
namespace required | string |
{- "fileSystemDriver": true,
- "fileSystemProfilePath": "string",
- "fileSystemURI": "string",
- "gcsDriver": true,
- "gcsManagedLedgerOffloadBucket": "string",
- "gcsManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "gcsManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "gcsManagedLedgerOffloadRegion": "string",
- "gcsManagedLedgerOffloadServiceAccountKeyFile": "string",
- "managedLedgerOffloadBucket": "string",
- "managedLedgerOffloadDeletionLagInMillis": 0,
- "managedLedgerOffloadDriver": "string",
- "managedLedgerOffloadMaxBlockSizeInBytes": 0,
- "managedLedgerOffloadMaxThreads": 0,
- "managedLedgerOffloadPrefetchRounds": 0,
- "managedLedgerOffloadReadBufferSizeInBytes": 0,
- "managedLedgerOffloadRegion": "string",
- "managedLedgerOffloadServiceEndpoint": "string",
- "managedLedgerOffloadThresholdInBytes": 0,
- "managedLedgerOffloadedReadPriority": "BOOKKEEPER_FIRST",
- "offloadersDirectory": "string",
- "s3Driver": true,
- "s3ManagedLedgerOffloadBucket": "string",
- "s3ManagedLedgerOffloadCredentialId": "string",
- "s3ManagedLedgerOffloadCredentialSecret": "string",
- "s3ManagedLedgerOffloadMaxBlockSizeInBytes": 0,
- "s3ManagedLedgerOffloadReadBufferSizeInBytes": 0,
- "s3ManagedLedgerOffloadRegion": "string",
- "s3ManagedLedgerOffloadRole": "string",
- "s3ManagedLedgerOffloadRoleSessionName": "string",
- "s3ManagedLedgerOffloadServiceEndpoint": "string"
}
A negative value disables automatic offloading
+tenant required | string |
namespace required | string |
0
-1 will revert to using the cluster default. A negative value disables automatic offloading.
+tenant required | string |
namespace required | string |
Maximum number of bytes stored on the pulsar cluster for a topic of the specified namespace
+0
tenant required | string |
namespace required | string |
role required | string |
List of permissions for the specified role
+[- "produce"
]
tenant required | string |
namespace required | string |
{- "bookkeeperAckQuorum": 0,
- "bookkeeperEnsemble": 0,
- "bookkeeperWriteQuorum": 0,
- "managedLedgerMaxMarkDeleteRate": 0.1
}
tenant required | string |
namespace required | string |
Key value pair properties for the namespace
+property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
tenant required | string |
namespace required | string |
{- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
tenant required | string |
namespace required | string |
Retention policies for the specified namespace
+retentionSizeInMB | integer <int64> |
retentionTimeInMinutes | integer <int32> |
{- "retentionSizeInMB": 0,
- "retentionTimeInMinutes": 0
}
The value AutoUpdateDisabled prevents producers from updating the schema. If set to AutoUpdateDisabled, schemas must be updated through the REST api
+tenant required | string |
namespace required | string |
"AutoUpdateDisabled"
The value AutoUpdateDisabled prevents producers from updating the schema. If set to AutoUpdateDisabled, schemas must be updated through the REST api
+tenant required | string |
namespace required | string |
Strategy used to check the compatibility of new schemas
+"string"
tenant required | string |
namespace required | string |
Strategy used to check the compatibility of new schema
+"string"
If the flag is set to true, when a producer without a schema attempts to produce to a topic with schema in this namespace, the producer will be failed to connect. PLEASE be carefully on using this, since non-java clients don't support schema.if you enable this setting, it will cause non-java clients failed to produce.
+tenant required | string |
namespace required | string |
applied | boolean Default: false |
true
If the flag is set to true, when a producer without a schema attempts to produce to a topic with schema in this namespace, the producer will be failed to connect. PLEASE be carefully on using this, since non-java clients don't support schema.if you enable this setting, it will cause non-java clients failed to produce.
+tenant required | string |
namespace required | string |
Flag of whether validation is enforced on the specified namespace
+true
tenant required | string |
namespace required | string |
{- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
tenant required | string |
namespace required | string |
Expiration time in minutes for the specified namespace
+0
tenant required | string |
namespace required | string |
Set of whether allow subscription types
+[- "Exclusive"
]
Unload an active namespace from the current broker serving it. Performing this operation will let the brokerremoves all producers, consumers, and connections using this namespace, and close all topics (includingtheir persistent store). During that operation, the namespace is marked as tentatively unavailable until thebroker completes the unloading action. This operation requires strictly super user privileges, since it wouldresult in non-persistent message loss and unexpected connection closure to the clients.
+tenant required | string |
namespace required | string |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
bundle | string Specify the bundle name + |
[- "string"
]
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
bundle required | string Bundle range of a topic + |
[- "string"
]
The topic cannot be deleted if delete is not forcefully and there's any active subscription or producer connected to the it. Force delete ignores connected clients and deletes topic by explicitly closing them.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
force | boolean Default: false Stop all producer/consumer/replicator and delete topic forcefully + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
deleteSchema | boolean Default: false Delete the topic's schema storage + |
This is the only REST endpoint from which non-partitioned topics could be created.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Key value pair properties for the topic metadata
+property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
expireTimeInSeconds required | integer <int32> Default: 0 Expires beyond the specified number of seconds + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
{- "brokerName": "string",
- "cursorDetails": {
- "property1": {
- "cursorBacklog": 0,
- "cursorLedgerId": 0
}, - "property2": {
- "cursorBacklog": 0,
- "cursorLedgerId": 0
}
}, - "dataLedgerDetails": [
- {
- "entries": 0,
- "ledgerId": 0,
- "size": 0,
- "timestamp": 0
}
], - "messageBacklog": 0,
- "statGeneratedAt": "2019-08-24T14:15:22Z",
- "storageSize": 0,
- "topicName": "string",
- "totalMessages": 0
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
isGlobal | boolean Default: false |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
{- "lastError": "string",
- "status": "NOT_RUN"
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
authoritative | boolean Default: false |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
DeduplicationEnabled policies for the specified topic
+true
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Delayed delivery policies for the specified topic
+active | boolean |
tickTime | integer <int64> |
{- "active": true,
- "tickTime": 0
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
initialPosition | string Default: "latest" Enum: "latest" "earliest" Relative start position to examine message.It can be 'latest' or 'earliest' + |
messagePosition | integer <int64> Default: 1 The position of messages (default 1) + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
metadata | boolean Default: false |
{- "compactedLedger": {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}, - "currentLedgerEntries": 0,
- "currentLedgerSize": 0,
- "cursors": {
- "property1": {
- "cursorLedger": 0,
- "cursorLedgerLastEntry": 0,
- "individuallyDeletedMessages": "string",
- "lastLedgerSwitchTimestamp": "string",
- "markDeletePosition": "string",
- "messagesConsumedCounter": 0,
- "numberOfEntriesSinceFirstNotAckedMessage": 0,
- "pendingReadOps": 0,
- "properties": {
- "property1": 0,
- "property2": 0
}, - "readPosition": "string",
- "state": "string",
- "subscriptionHavePendingRead": true,
- "subscriptionHavePendingReplayRead": true,
- "totalNonContiguousDeletedMessagesRange": 0,
- "waitingReadOp": true
}, - "property2": {
- "cursorLedger": 0,
- "cursorLedgerLastEntry": 0,
- "individuallyDeletedMessages": "string",
- "lastLedgerSwitchTimestamp": "string",
- "markDeletePosition": "string",
- "messagesConsumedCounter": 0,
- "numberOfEntriesSinceFirstNotAckedMessage": 0,
- "pendingReadOps": 0,
- "properties": {
- "property1": 0,
- "property2": 0
}, - "readPosition": "string",
- "state": "string",
- "subscriptionHavePendingRead": true,
- "subscriptionHavePendingReplayRead": true,
- "totalNonContiguousDeletedMessagesRange": 0,
- "waitingReadOp": true
}
}, - "entriesAddedCounter": 0,
- "lastConfirmedEntry": "string",
- "lastLedgerCreatedTimestamp": "string",
- "lastLedgerCreationFailureTimestamp": "string",
- "ledgers": [
- {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}
], - "numberOfEntries": 0,
- "pendingAddEntriesCount": 0,
- "schemaLedgers": [
- {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}
], - "state": "string",
- "totalSize": 0,
- "waitingCursorsCount": 0
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
ledgerId required | integer <int64> The ledger id + |
entryId required | integer <int64> The entry id + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
The max message size of the topic
+0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
The max subscriptions of the topic
+0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Max unacked messages on subscription policies for the specified topic
+0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
timestamp required | integer <int64> Specify the timestamp + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
perPartition | boolean Default: true Get per partition stats + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
getPreciseBacklog | boolean Default: false If return precise backlog or imprecise backlog + |
subscriptionBacklogSize | boolean Default: false If return backlog size for each subscription, require locking on ledger so be careful not to use when there's heavy traffic. + |
getEarliestTimeInBacklog | boolean Default: false If return the earliest time in backlog + |
It will also delete all the partitions of the topic if it exists.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
force | boolean Default: false Stop all producer/consumer/replicator and delete topic forcefully + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
deleteSchema | boolean Default: false Delete the topic's schema storage + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
checkAllowAutoCreation | boolean Default: false Is check configuration required to automatically create topic + |
It only increments partitions of existing non-global partitioned-topic
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
updateLocalTopicOnly | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
force | boolean Default: false |
The number of partitions for the topic
+0
It needs to be called before creating a producer on a partitioned topic.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
createLocalTopicOnly | boolean Default: false |
The metadata for the topic
+partitions | integer <int32> |
object |
{- "partitions": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
Retrieve the effective permissions for a topic. These permissions are defined by the permissions set at thenamespace level combined (union) with any eventual specific permission set on the topic.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
{- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}
Revoke permissions to a role on a single topic. If the permission was not set at the topiclevel, but rather at the namespace level, this operation will return an error (HTTP status code 412).
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
role required | string Client role to which grant permissions + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
role required | string Client role to which grant permissions + |
Actions to be granted (produce,functions,consume)
+[- "produce"
]
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
backlogQuotaType | string Enum: "destination_storage" "message_age" |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
List of replication clusters
+[- "string"
]
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Replicator dispatch rate of the topic
+dispatchThrottlingRateInByte | integer <int64> |
dispatchThrottlingRateInMsg | integer <int32> |
ratePeriodInSecond | integer <int32> |
relativeToPublishRate | boolean |
{- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Strategy used to check the compatibility of new schema
+"string"
tenant required | string Specify the tenant + |
namespace required | string Specify the cluster + |
topic required | string Specify topic name + |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Strategy used to check the compatibility of new schema
+"string"
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Is authentication required to perform this operation + |
getPreciseBacklog | boolean Default: false If return precise backlog or imprecise backlog + |
subscriptionBacklogSize | boolean Default: false If return backlog size for each subscription, require locking on ledger so be careful not to use when there's heavy traffic. + |
getEarliestTimeInBacklog | boolean Default: false If return time of the earliest message in backlog + |
{- "averageMsgSize": 0.1,
- "backlogSize": 0,
- "bytesInCounter": 0,
- "bytesOutCounter": 0,
- "compaction": {
- "lastCompactionDurationTimeInMills": 0,
- "lastCompactionFailedTimestamp": 0,
- "lastCompactionRemovedEventCount": 0,
- "lastCompactionSucceedTimestamp": 0
}, - "deduplicationStatus": "string",
- "earliestMsgPublishTimeInBacklogs": 0,
- "msgChunkPublished": true,
- "msgDropRate": 0.1,
- "msgInCounter": 0,
- "msgOutCounter": 0,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "offloadedStorageSize": 0,
- "publishers": [
- {
- "accessMode": "Shared",
- "address": "string",
- "averageMsgSize": 0.1,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgDropRate": 0.1,
- "msgRateIn": 0.1,
- "msgThroughputIn": 0.1,
- "producerId": 0,
- "producerName": "string",
- "supportsPartialProducer": true
}
], - "replication": {
- "property1": {
- "connected": true,
- "inboundConnectedSince": "string",
- "inboundConnection": "string",
- "msgDropRate": 0.1,
- "msgRateExpired": 0.1,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "outboundConnectedSince": "string",
- "outboundConnection": "string",
- "replicationBacklog": 0,
- "replicationDelayInSeconds": 0
}, - "property2": {
- "connected": true,
- "inboundConnectedSince": "string",
- "inboundConnection": "string",
- "msgDropRate": 0.1,
- "msgRateExpired": 0.1,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "outboundConnectedSince": "string",
- "outboundConnection": "string",
- "replicationBacklog": 0,
- "replicationDelayInSeconds": 0
}
}, - "storageSize": 0,
- "subscriptions": {
- "property1": {
- "activeConsumerName": "string",
- "allowOutOfOrderDelivery": true,
- "backlogSize": 0,
- "blockedSubscriptionOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0,
- "consumers": [
- {
- "address": "string",
- "availablePermits": 0,
- "avgMessagesPerEntry": 0,
- "blockedConsumerOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "consumerName": "string",
- "keyHashRanges": [
- "string"
], - "lastAckedTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "messageAckRate": 0.1,
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgOutCounter": 0,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "readPositionWhenJoining": "string",
- "unackedMessages": 0
}
], - "consumersAfterMarkDeletePosition": {
- "property1": "string",
- "property2": "string"
}, - "durable": true,
- "earliestMsgPublishTimeInBacklog": 0,
- "keySharedMode": "string",
- "lastAckedTimestamp": 0,
- "lastConsumedFlowTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "lastExpireTimestamp": 0,
- "lastMarkDeleteAdvancedTimestamp": 0,
- "messageAckRate": 0.1,
- "msgBacklog": 0,
- "msgBacklogNoDelayed": 0,
- "msgDelayed": 0,
- "msgDropRate": 0.1,
- "msgOutCounter": 0,
- "msgRateExpired": 0.1,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "replicated": true,
- "subscriptionProperties": {
- "property1": "string",
- "property2": "string"
}, - "totalMsgExpired": 0,
- "type": "string",
- "unackedMessages": 0
}, - "property2": {
- "activeConsumerName": "string",
- "allowOutOfOrderDelivery": true,
- "backlogSize": 0,
- "blockedSubscriptionOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0,
- "consumers": [
- {
- "address": "string",
- "availablePermits": 0,
- "avgMessagesPerEntry": 0,
- "blockedConsumerOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "consumerName": "string",
- "keyHashRanges": [
- "string"
], - "lastAckedTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "messageAckRate": 0.1,
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgOutCounter": 0,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "readPositionWhenJoining": "string",
- "unackedMessages": 0
}
], - "consumersAfterMarkDeletePosition": {
- "property1": "string",
- "property2": "string"
}, - "durable": true,
- "earliestMsgPublishTimeInBacklog": 0,
- "keySharedMode": "string",
- "lastAckedTimestamp": 0,
- "lastConsumedFlowTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "lastExpireTimestamp": 0,
- "lastMarkDeleteAdvancedTimestamp": 0,
- "messageAckRate": 0.1,
- "msgBacklog": 0,
- "msgBacklogNoDelayed": 0,
- "msgDelayed": 0,
- "msgDropRate": 0.1,
- "msgOutCounter": 0,
- "msgRateExpired": 0.1,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "replicated": true,
- "subscriptionProperties": {
- "property1": "string",
- "property2": "string"
}, - "totalMsgExpired": 0,
- "type": "string",
- "unackedMessages": 0
}
}, - "topicEpoch": 0,
- "waitingPublishers": 0
}
The subscription cannot be deleted if delete is not forcefully and there are any active consumers attached to it. Force delete ignores connected consumers and deletes subscription by explicitly closing them.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to be deleted + |
force | boolean Default: false Disconnect and close all consumers and delete subscription forcefully + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to be Expiry messages on + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
messageId to reset back to (ledgerId:entryId)
+batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to be Expiry messages on + |
expireTimeInSeconds required | integer <int32> Default: 0 Expires beyond the specified number of seconds + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscribed message expired + |
messagePosition required | integer <int32> Default: 1 The number of messages (default 1) + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to update + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
The new properties
+property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Name of subscription + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Name of subscription + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Whether to enable replicated subscription
+true
It fence cursor and disconnects all active consumers before reseting cursor.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to reset position on + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
messageId to reset back to (ledgerId:entryId)
+batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
It fence cursor and disconnects all active consumers before reseting cursor.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to reset position on + |
timestamp required | integer <int64> the timestamp to reset back + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Name of subscription + |
numMessages required | integer <int32> Default: 0 The number of messages to skip + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Completely clears the backlog on the subscription.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Name of subscription + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Creates a subscription on the topic at the specified message id
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subscriptionName required | string Subscription to create position on + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
replicated | boolean Is replicated required to perform this operation + |
messageId where to create the subscription. It can be 'latest', 'earliest' or (ledgerId:entryId)
+batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Enable sub types for the specified topic
+[- "Exclusive"
]
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
{ }
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
NonPersistentTopic does not support truncate.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
The topic cannot be deleted if delete is not forcefully and there's any active subscription or producer connected to the it. Force delete ignores connected clients and deletes topic by explicitly closing them.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
force | boolean Default: false Stop all producer/consumer/replicator and delete topic forcefully + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
deleteSchema | boolean Default: false Delete the topic's schema storage + |
This is the only REST endpoint from which non-partitioned topics could be created.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Key value pair properties for the topic metadata
+property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
expireTimeInSeconds required | integer <int32> Default: 0 Expires beyond the specified number of seconds + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
{- "brokerName": "string",
- "cursorDetails": {
- "property1": {
- "cursorBacklog": 0,
- "cursorLedgerId": 0
}, - "property2": {
- "cursorBacklog": 0,
- "cursorLedgerId": 0
}
}, - "dataLedgerDetails": [
- {
- "entries": 0,
- "ledgerId": 0,
- "size": 0,
- "timestamp": 0
}
], - "messageBacklog": 0,
- "statGeneratedAt": "2019-08-24T14:15:22Z",
- "storageSize": 0,
- "topicName": "string",
- "totalMessages": 0
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
isGlobal | boolean Default: false |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
{- "lastError": "string",
- "status": "NOT_RUN"
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
authoritative | boolean Default: false |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
DeduplicationEnabled policies for the specified topic
+true
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Delayed delivery policies for the specified topic
+active | boolean |
tickTime | integer <int64> |
{- "active": true,
- "tickTime": 0
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
initialPosition | string Default: "latest" Enum: "latest" "earliest" Relative start position to examine message.It can be 'latest' or 'earliest' + |
messagePosition | integer <int64> Default: 1 The position of messages (default 1) + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
isGlobal | boolean Default: false |
inactive topic policies for the specified topic
+deleteWhileInactive | boolean |
inactiveTopicDeleteMode | string Enum: "delete_when_no_subscriptions" "delete_when_subscriptions_caught_up" |
maxInactiveDurationSeconds | integer <int32> |
{- "deleteWhileInactive": true,
- "inactiveTopicDeleteMode": "delete_when_no_subscriptions",
- "maxInactiveDurationSeconds": 0
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
metadata | boolean Default: false |
{- "compactedLedger": {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}, - "currentLedgerEntries": 0,
- "currentLedgerSize": 0,
- "cursors": {
- "property1": {
- "cursorLedger": 0,
- "cursorLedgerLastEntry": 0,
- "individuallyDeletedMessages": "string",
- "lastLedgerSwitchTimestamp": "string",
- "markDeletePosition": "string",
- "messagesConsumedCounter": 0,
- "numberOfEntriesSinceFirstNotAckedMessage": 0,
- "pendingReadOps": 0,
- "properties": {
- "property1": 0,
- "property2": 0
}, - "readPosition": "string",
- "state": "string",
- "subscriptionHavePendingRead": true,
- "subscriptionHavePendingReplayRead": true,
- "totalNonContiguousDeletedMessagesRange": 0,
- "waitingReadOp": true
}, - "property2": {
- "cursorLedger": 0,
- "cursorLedgerLastEntry": 0,
- "individuallyDeletedMessages": "string",
- "lastLedgerSwitchTimestamp": "string",
- "markDeletePosition": "string",
- "messagesConsumedCounter": 0,
- "numberOfEntriesSinceFirstNotAckedMessage": 0,
- "pendingReadOps": 0,
- "properties": {
- "property1": 0,
- "property2": 0
}, - "readPosition": "string",
- "state": "string",
- "subscriptionHavePendingRead": true,
- "subscriptionHavePendingReplayRead": true,
- "totalNonContiguousDeletedMessagesRange": 0,
- "waitingReadOp": true
}
}, - "entriesAddedCounter": 0,
- "lastConfirmedEntry": "string",
- "lastLedgerCreatedTimestamp": "string",
- "lastLedgerCreationFailureTimestamp": "string",
- "ledgers": [
- {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}
], - "numberOfEntries": 0,
- "pendingAddEntriesCount": 0,
- "schemaLedgers": [
- {
- "entries": 0,
- "ledgerId": 0,
- "metadata": "string",
- "offloaded": true,
- "size": 0,
- "underReplicated": true
}
], - "state": "string",
- "totalSize": 0,
- "waitingCursorsCount": 0
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
ledgerId required | integer <int64> The ledger id + |
entryId required | integer <int64> The entry id + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
The max message size of the topic
+0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
The max subscriptions of the topic
+0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Max unacked messages on subscription policies for the specified topic
+0
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
timestamp required | integer <int64> Specify the timestamp + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
perPartition | boolean Default: true Get per partition stats + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
getPreciseBacklog | boolean Default: false If return precise backlog or imprecise backlog + |
subscriptionBacklogSize | boolean Default: false If return backlog size for each subscription, require locking on ledger so be careful not to use when there's heavy traffic. + |
getEarliestTimeInBacklog | boolean Default: false If return the earliest time in backlog + |
It will also delete all the partitions of the topic if it exists.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
force | boolean Default: false Stop all producer/consumer/replicator and delete topic forcefully + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
deleteSchema | boolean Default: false Delete the topic's schema storage + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
checkAllowAutoCreation | boolean Default: false Is check configuration required to automatically create topic + |
It only increments partitions of existing non-global partitioned-topic
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
updateLocalTopicOnly | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
force | boolean Default: false |
The number of partitions for the topic
+0
It needs to be called before creating a producer on a partitioned topic.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
createLocalTopicOnly | boolean Default: false |
The metadata for the topic
+partitions | integer <int32> |
object |
{- "partitions": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
Retrieve the effective permissions for a topic. These permissions are defined by the permissions set at thenamespace level combined (union) with any eventual specific permission set on the topic.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
{- "property1": [
- "produce"
], - "property2": [
- "produce"
]
}
Revoke permissions to a role on a single topic. If the permission was not set at the topiclevel, but rather at the namespace level, this operation will return an error (HTTP status code 412).
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
role required | string Client role to which grant permissions + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
role required | string Client role to which grant permissions + |
Actions to be granted (produce,functions,consume)
+[- "produce"
]
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
backlogQuotaType | string Enum: "destination_storage" "message_age" |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
List of replication clusters
+[- "string"
]
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Replicator dispatch rate of the topic
+dispatchThrottlingRateInByte | integer <int64> |
dispatchThrottlingRateInMsg | integer <int32> |
ratePeriodInSecond | integer <int32> |
relativeToPublishRate | boolean |
{- "dispatchThrottlingRateInByte": 0,
- "dispatchThrottlingRateInMsg": 0,
- "ratePeriodInSecond": 0,
- "relativeToPublishRate": true
}
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
isGlobal | boolean Default: false |
Retention policies for the specified namespace
+retentionSizeInMB | integer <int64> |
retentionTimeInMinutes | integer <int32> |
{- "retentionSizeInMB": 0,
- "retentionTimeInMinutes": 0
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Strategy used to check the compatibility of new schema
+"string"
tenant required | string Specify the tenant + |
namespace required | string Specify the cluster + |
topic required | string Specify topic name + |
applied | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Strategy used to check the compatibility of new schema
+"string"
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
getPreciseBacklog | boolean Default: false If return precise backlog or imprecise backlog + |
subscriptionBacklogSize | boolean Default: false If return backlog size for each subscription, require locking on ledger so be careful not to use when there's heavy traffic. + |
getEarliestTimeInBacklog | boolean Default: false If return time of the earliest message in backlog + |
{- "averageMsgSize": 0.1,
- "backlogSize": 0,
- "bytesInCounter": 0,
- "bytesOutCounter": 0,
- "compaction": {
- "lastCompactionDurationTimeInMills": 0,
- "lastCompactionFailedTimestamp": 0,
- "lastCompactionRemovedEventCount": 0,
- "lastCompactionSucceedTimestamp": 0
}, - "deduplicationStatus": "string",
- "earliestMsgPublishTimeInBacklogs": 0,
- "msgChunkPublished": true,
- "msgInCounter": 0,
- "msgOutCounter": 0,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "offloadedStorageSize": 0,
- "publishers": [
- {
- "accessMode": "Shared",
- "address": "string",
- "averageMsgSize": 0.1,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgRateIn": 0.1,
- "msgThroughputIn": 0.1,
- "producerId": 0,
- "producerName": "string",
- "supportsPartialProducer": true
}
], - "replication": {
- "property1": {
- "connected": true,
- "inboundConnectedSince": "string",
- "inboundConnection": "string",
- "msgRateExpired": 0.1,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "outboundConnectedSince": "string",
- "outboundConnection": "string",
- "replicationBacklog": 0,
- "replicationDelayInSeconds": 0
}, - "property2": {
- "connected": true,
- "inboundConnectedSince": "string",
- "inboundConnection": "string",
- "msgRateExpired": 0.1,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1,
- "msgThroughputIn": 0.1,
- "msgThroughputOut": 0.1,
- "outboundConnectedSince": "string",
- "outboundConnection": "string",
- "replicationBacklog": 0,
- "replicationDelayInSeconds": 0
}
}, - "storageSize": 0,
- "subscriptions": {
- "property1": {
- "activeConsumerName": "string",
- "allowOutOfOrderDelivery": true,
- "backlogSize": 0,
- "blockedSubscriptionOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0,
- "consumers": [
- {
- "address": "string",
- "availablePermits": 0,
- "avgMessagesPerEntry": 0,
- "blockedConsumerOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "consumerName": "string",
- "keyHashRanges": [
- "string"
], - "lastAckedTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "messageAckRate": 0.1,
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgOutCounter": 0,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "readPositionWhenJoining": "string",
- "unackedMessages": 0
}
], - "consumersAfterMarkDeletePosition": {
- "property1": "string",
- "property2": "string"
}, - "durable": true,
- "earliestMsgPublishTimeInBacklog": 0,
- "keySharedMode": "string",
- "lastAckedTimestamp": 0,
- "lastConsumedFlowTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "lastExpireTimestamp": 0,
- "lastMarkDeleteAdvancedTimestamp": 0,
- "messageAckRate": 0.1,
- "msgBacklog": 0,
- "msgBacklogNoDelayed": 0,
- "msgDelayed": 0,
- "msgOutCounter": 0,
- "msgRateExpired": 0.1,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "replicated": true,
- "subscriptionProperties": {
- "property1": "string",
- "property2": "string"
}, - "totalMsgExpired": 0,
- "type": "string",
- "unackedMessages": 0
}, - "property2": {
- "activeConsumerName": "string",
- "allowOutOfOrderDelivery": true,
- "backlogSize": 0,
- "blockedSubscriptionOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0,
- "consumers": [
- {
- "address": "string",
- "availablePermits": 0,
- "avgMessagesPerEntry": 0,
- "blockedConsumerOnUnackedMsgs": true,
- "bytesOutCounter": 0,
- "chunkedMessageRate": 0.1,
- "clientVersion": "string",
- "connectedSince": "string",
- "consumerName": "string",
- "keyHashRanges": [
- "string"
], - "lastAckedTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "messageAckRate": 0.1,
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "msgOutCounter": 0,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "readPositionWhenJoining": "string",
- "unackedMessages": 0
}
], - "consumersAfterMarkDeletePosition": {
- "property1": "string",
- "property2": "string"
}, - "durable": true,
- "earliestMsgPublishTimeInBacklog": 0,
- "keySharedMode": "string",
- "lastAckedTimestamp": 0,
- "lastConsumedFlowTimestamp": 0,
- "lastConsumedTimestamp": 0,
- "lastExpireTimestamp": 0,
- "lastMarkDeleteAdvancedTimestamp": 0,
- "messageAckRate": 0.1,
- "msgBacklog": 0,
- "msgBacklogNoDelayed": 0,
- "msgDelayed": 0,
- "msgOutCounter": 0,
- "msgRateExpired": 0.1,
- "msgRateOut": 0.1,
- "msgRateRedeliver": 0.1,
- "msgThroughputOut": 0.1,
- "nonContiguousDeletedMessagesRanges": 0,
- "nonContiguousDeletedMessagesRangesSerializedSize": 0,
- "replicated": true,
- "subscriptionProperties": {
- "property1": "string",
- "property2": "string"
}, - "totalMsgExpired": 0,
- "type": "string",
- "unackedMessages": 0
}
}, - "topicEpoch": 0,
- "waitingPublishers": 0
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
The subscription cannot be deleted if delete is not forcefully and there are any active consumers attached to it. Force delete ignores connected consumers and deletes subscription by explicitly closing them.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to be deleted + |
force | boolean Default: false Disconnect and close all consumers and delete subscription forcefully + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to be Expiry messages on + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
messageId to reset back to (ledgerId:entryId)
+batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to be Expiry messages on + |
expireTimeInSeconds required | integer <int32> Default: 0 Expires beyond the specified number of seconds + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscribed message expired + |
messagePosition required | integer <int32> Default: 1 The number of messages (default 1) + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to update + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
The new properties
+property name* additional property | string |
{- "property1": "string",
- "property2": "string"
}
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Name of subscription + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Name of subscription + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Whether to enable replicated subscription
+true
It fence cursor and disconnects all active consumers before reseting cursor.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to reset position on + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
messageId to reset back to (ledgerId:entryId)
+batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
It fence cursor and disconnects all active consumers before reseting cursor.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Subscription to reset position on + |
timestamp required | integer <int64> the timestamp to reset back + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Name of subscription + |
numMessages required | integer <int32> Default: 0 The number of messages to skip + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Completely clears the backlog on the subscription.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subName required | string Name of subscription + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Creates a subscription on the topic at the specified message id
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
subscriptionName required | string Subscription to create position on + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
replicated | boolean Is replicated required to perform this operation + |
messageId where to create the subscription. It can be 'latest', 'earliest' or (ledgerId:entryId)
+batchIndex | integer <int32> |
entryId | integer <int64> |
excluded | boolean |
ledgerId | integer <int64> |
partitionIndex | integer <int32> |
object |
{- "batchIndex": 0,
- "entryId": 0,
- "excluded": true,
- "ledgerId": 0,
- "partitionIndex": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
tenant required | string |
namespace required | string |
topic required | string |
applied | boolean Default: false |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string |
namespace required | string |
topic required | string |
isGlobal | boolean Default: false |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
Enable sub types for the specified topic
+[- "Exclusive"
]
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
{ }
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
The truncate operation will move all cursors to the end of the topic and delete all inactive ledgers.
+tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Specify the tenant + |
namespace required | string Specify the namespace + |
topic required | string Specify topic name + |
authoritative | boolean Default: false Whether leader broker redirected this call to this broker. For internal use. + |
tenant required | string Tenant name + |
namespace required | string Namespace name within the specified tenant + |
bundle required | string Namespace bundle range + |
{- "bandwidthIn": 0.1,
- "bandwidthOut": 0.1,
- "dynamic": true,
- "memory": 0.1,
- "msgRateIn": 0.1,
- "msgRateOut": 0.1
}
resourcegroup required | string |
Rate limiters for the resourcegroup
+dispatchRateInBytes | integer <int64> |
dispatchRateInMsgs | integer <int32> |
publishRateInBytes | integer <int64> |
publishRateInMsgs | integer <int32> |
{- "dispatchRateInBytes": 0,
- "dispatchRateInMsgs": 0,
- "publishRateInBytes": 0,
- "publishRateInMsgs": 0
}
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false |
A JSON value presenting a schema payload. An example of the expected schema can be found down here.
+object | |
schema | string |
type | string |
null
{- "compatibility": true,
- "schemaCompatibilityStrategy": "string"
}
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false |
{- "data": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "timestamp": 0,
- "type": "NONE",
- "version": 0
}
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false |
A JSON value presenting a schema payload. An example of the expected schema can be found down here.
+object | |
schema | string |
type | string |
null
{- "version": { }
}
tenant required | string |
namespace required | string |
topic required | string |
version required | string |
authoritative | boolean Default: false |
{- "data": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "timestamp": 0,
- "type": "NONE",
- "version": 0
}
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false |
{- "getSchemaResponses": [
- {
- "data": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "timestamp": 0,
- "type": "NONE",
- "version": 0
}
]
}
tenant required | string |
namespace required | string |
topic required | string |
authoritative | boolean Default: false |
A JSON value presenting a schema payload. An example of the expected schema can be found down here.
+object | |
schema | string |
type | string |
null
{- "version": 0
}
Requested should be executed by Monitoring agent on each worker to fetch the metrics
+[- {
- "metrics": {
- "avgProcessLatency": 0.1,
- "lastInvocation": 0,
- "oneMin": {
- "avgProcessLatency": 0.1,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0
}, - "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0,
- "userMetrics": {
- "property1": 0.1,
- "property2": 0.1
}
}, - "name": "string"
}
]
Request should be executed by Monitoring agent on each worker to fetch the worker-metrics
+[- {
- "dimensions": {
- "property1": "string",
- "property2": "string"
}, - "metrics": {
- "property1": { },
- "property2": { }
}
}
]
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
{- "autoAck": true,
- "batchBuilder": "string",
- "className": "string",
- "cleanupSubscription": true,
- "customRuntimeOptions": "string",
- "customSchemaInputs": {
- "property1": "string",
- "property2": "string"
}, - "customSchemaOutputs": {
- "property1": "string",
- "property2": "string"
}, - "customSerdeInputs": {
- "property1": "string",
- "property2": "string"
}, - "deadLetterTopic": "string",
- "exposePulsarAdminClientEnabled": true,
- "forwardSourceMessageProperty": true,
- "fqfn": "string",
- "go": "string",
- "inputSpecs": {
- "property1": {
- "consumerProperties": {
- "property1": "string",
- "property2": "string"
}, - "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "poolMessages": true,
- "receiverQueueSize": 0,
- "regexPattern": true,
- "schemaProperties": {
- "property1": "string",
- "property2": "string"
}, - "schemaType": "string",
- "serdeClassName": "string"
}, - "property2": {
- "consumerProperties": {
- "property1": "string",
- "property2": "string"
}, - "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "poolMessages": true,
- "receiverQueueSize": 0,
- "regexPattern": true,
- "schemaProperties": {
- "property1": "string",
- "property2": "string"
}, - "schemaType": "string",
- "serdeClassName": "string"
}
}, - "inputs": [
- "string"
], - "jar": "string",
- "logTopic": "string",
- "maxMessageRetries": 0,
- "maxPendingAsyncRequests": 0,
- "name": "string",
- "namespace": "string",
- "output": "string",
- "outputSchemaType": "string",
- "outputSerdeClassName": "string",
- "parallelism": 0,
- "processingGuarantees": "ATLEAST_ONCE",
- "producerConfig": {
- "batchBuilder": "string",
- "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "maxPendingMessages": 0,
- "maxPendingMessagesAcrossPartitions": 0,
- "useThreadLocalProducers": true
}, - "py": "string",
- "resources": {
- "cpu": 0.1,
- "disk": 0,
- "ram": 0
}, - "retainKeyOrdering": true,
- "retainOrdering": true,
- "runtime": "JAVA",
- "runtimeFlags": "string",
- "secrets": {
- "property1": { },
- "property2": { }
}, - "subName": "string",
- "subscriptionPosition": "Latest",
- "tenant": "string",
- "timeoutMs": 0,
- "topicsPattern": "string",
- "userConfig": {
- "property1": { },
- "property2": { }
}, - "windowConfig": {
- "actualWindowFunctionClassName": "string",
- "lateDataTopic": "string",
- "maxLagMs": 0,
- "slidingIntervalCount": 0,
- "slidingIntervalDurationMs": 0,
- "timestampExtractorClassName": "string",
- "watermarkEmitIntervalMs": 0,
- "windowLengthCount": 0,
- "windowLengthDurationMs": 0
}
}
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
You can submit a function (in any languages that you are familiar with) +" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK">
You can submit a function (in any languages that you are familiar with) to a Pulsar cluster. Follow the steps below.
autoAck | boolean |
batchBuilder | string |
className | string |
cleanupSubscription | boolean |
customRuntimeOptions | string |
object | |
object | |
object | |
deadLetterTopic | string |
exposePulsarAdminClientEnabled | boolean |
forwardSourceMessageProperty | boolean |
fqfn | string |
go | string |
object | |
inputs | Array of strings |
jar | string |
logTopic | string |
maxMessageRetries | integer <int32> |
maxPendingAsyncRequests | integer <int32> |
name | string |
namespace | string |
output | string |
outputSchemaType | string |
outputSerdeClassName | string |
parallelism | integer <int32> |
processingGuarantees | string Enum: "ATLEAST_ONCE" "ATMOST_ONCE" "EFFECTIVELY_ONCE" |
object (ProducerConfig) | |
py | string |
object (Resources) | |
retainKeyOrdering | boolean |
retainOrdering | boolean |
runtime | string Enum: "JAVA" "PYTHON" "GO" |
runtimeFlags | string |
object | |
subName | string |
subscriptionPosition | string Enum: "Latest" "Earliest" |
tenant | string |
timeoutMs | integer <int64> |
topicsPattern | string |
object | |
object (WindowConfig) |
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
A JSON value presenting configuration payload of a Pulsar Function. An example of the expected Pulsar Function can be found here.
+" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK">A JSON value presenting configuration payload of a Pulsar Function. An example of the expected Pulsar Function can be found here.
autoAck | boolean |
batchBuilder | string |
className | string |
cleanupSubscription | boolean |
customRuntimeOptions | string |
object | |
object | |
object | |
deadLetterTopic | string |
exposePulsarAdminClientEnabled | boolean |
forwardSourceMessageProperty | boolean |
fqfn | string |
go | string |
object | |
inputs | Array of strings |
jar | string |
logTopic | string |
maxMessageRetries | integer <int32> |
maxPendingAsyncRequests | integer <int32> |
name | string |
namespace | string |
output | string |
outputSchemaType | string |
outputSerdeClassName | string |
parallelism | integer <int32> |
processingGuarantees | string Enum: "ATLEAST_ONCE" "ATMOST_ONCE" "EFFECTIVELY_ONCE" |
object (ProducerConfig) | |
py | string |
object (Resources) | |
retainKeyOrdering | boolean |
retainOrdering | boolean |
runtime | string Enum: "JAVA" "PYTHON" "GO" |
runtimeFlags | string |
object | |
subName | string |
subscriptionPosition | string Enum: "Latest" "Earliest" |
tenant | string |
timeoutMs | integer <int64> |
topicsPattern | string |
object | |
object (WindowConfig) |
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
{- "1min": {
- "avgProcessLatency": 0.1,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0
}, - "avgProcessLatency": 0.1,
- "instances": [
- {
- "instanceId": 0,
- "metrics": {
- "avgProcessLatency": 0.1,
- "lastInvocation": 0,
- "oneMin": {
- "avgProcessLatency": 0.1,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0
}, - "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0,
- "userMetrics": {
- "property1": 0.1,
- "property2": 0.1
}
}
}
], - "lastInvocation": 0,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0
}
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
{- "instances": [
- {
- "instanceId": 0,
- "status": {
- "averageLatency": 0.1,
- "error": "string",
- "lastInvocationTime": 0,
- "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestUserExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReceived": 0,
- "numRestarts": 0,
- "numSuccessfullyProcessed": 0,
- "numSystemExceptions": 0,
- "numUserExceptions": 0,
- "running": true,
- "workerId": "string"
}
}
], - "numInstances": 0,
- "numRunning": 0
}
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
The value with which you want to trigger the Pulsar Function
-{- "brokerPublishTime": 0,
- "data": [
- "string"
], - "encryptionCtx": {
- "algorithm": "string",
- "batchSize": 0,
- "compressionType": "NONE",
- "keys": {
- "property1": {
- "keyValue": [
- "string"
], - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "keyValue": [
- "string"
], - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
}, - "param": [
- "string"
], - "uncompressedMessageSize": 0
}, - "eventTime": 0,
- "index": 0,
- "key": "string",
- "keyBytes": [
- "string"
], - "messageId": { },
- "orderingKey": [
- "string"
], - "producerName": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "publishTime": 0,
- "readerSchema": {
- "nativeSchema": { },
- "schemaInfo": {
- "name": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "schema": [
- "string"
], - "schemaDefinition": "string",
- "timestamp": 0,
- "type": "NONE"
}
}, - "redeliveryCount": 0,
- "replicated": true,
- "replicatedFrom": "string",
- "schemaVersion": [
- "string"
], - "sequenceId": 0,
- "topicName": "string",
- "value": { }
}
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
instanceId required | string The instanceId of a Pulsar Function (if instance-id is not provided, all instances are restarted - |
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
instanceId required | string The instanceId of a Pulsar Function (if instance-id is not provided, all instances sre started. - |
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
instanceId required | string The instanceId of a Pulsar Function (if instance-id is not provided, the stats of all instances is returned - |
{- "1min": {
- "avgProcessLatency": 0.1,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0
}, - "avgProcessLatency": 0.1,
- "lastInvocation": 0,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0,
- "userMetrics": {
- "property1": 0.1,
- "property2": 0.1
}
}
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
instanceId required | string The instanceId of a Pulsar Function (if instance-id is not provided, the stats of all instances is returned - |
{- "averageLatency": 0.1,
- "error": "string",
- "lastInvocationTime": 0,
- "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestUserExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReceived": 0,
- "numRestarts": 0,
- "numSuccessfullyProcessed": 0,
- "numSystemExceptions": 0,
- "numUserExceptions": 0,
- "running": true,
- "workerId": "string"
}
tenant required | string The tenant of a Pulsar Function - |
namespace required | string The namespace of a Pulsar Function - |
functionName required | string The name of a Pulsar Function - |
instanceId required | string The instanceId of a Pulsar Function (if instance-id is not provided, all instances are stopped. - |
type required | string |
tenant required | string |
namespace required | string |
{- "contact": "string",
- "createTime": 0,
- "description": "string",
- "modificationTime": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
type required | string |
tenant required | string |
namespace required | string |
packageName required | string |
version required | string |
{- "contact": "string",
- "createTime": 0,
- "description": "string",
- "modificationTime": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
tenant required | string The tenant of a Pulsar Sink - |
namespace required | string The namespace of a Pulsar Sink - |
sinkName required | string The name of a Pulsar Sink - |
{- "archive": "string",
- "autoAck": true,
- "className": "string",
- "cleanupSubscription": true,
- "configs": {
- "property1": { },
- "property2": { }
}, - "customRuntimeOptions": "string",
- "deadLetterTopic": "string",
- "inputSpecs": {
- "property1": {
- "consumerProperties": {
- "property1": "string",
- "property2": "string"
}, - "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "poolMessages": true,
- "receiverQueueSize": 0,
- "regexPattern": true,
- "schemaProperties": {
- "property1": "string",
- "property2": "string"
}, - "schemaType": "string",
- "serdeClassName": "string"
}, - "property2": {
- "consumerProperties": {
- "property1": "string",
- "property2": "string"
}, - "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "poolMessages": true,
- "receiverQueueSize": 0,
- "regexPattern": true,
- "schemaProperties": {
- "property1": "string",
- "property2": "string"
}, - "schemaType": "string",
- "serdeClassName": "string"
}
}, - "inputs": [
- "string"
], - "maxMessageRetries": 0,
- "name": "string",
- "namespace": "string",
- "negativeAckRedeliveryDelayMs": 0,
- "parallelism": 0,
- "processingGuarantees": "ATLEAST_ONCE",
- "resources": {
- "cpu": 0.1,
- "disk": 0,
- "ram": 0
}, - "retainKeyOrdering": true,
- "retainOrdering": true,
- "runtimeFlags": "string",
- "secrets": {
- "property1": { },
- "property2": { }
}, - "sourceSubscriptionName": "string",
- "sourceSubscriptionPosition": "Latest",
- "tenant": "string",
- "timeoutMs": 0,
- "topicToSchemaProperties": {
- "property1": "string",
- "property2": "string"
}, - "topicToSchemaType": {
- "property1": "string",
- "property2": "string"
}, - "topicToSerdeClassName": {
- "property1": "string",
- "property2": "string"
}, - "topicsPattern": "string"
}
tenant required | string The tenant of a Pulsar Sink - |
namespace required | string The namespace of a Pulsar Sink - |
sinkName required | string The name of a Pulsar Sink - |
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
{- "1min": {
- "avgProcessLatency": 0.1,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0
}, - "avgProcessLatency": 0.1,
- "instances": [
- {
- "instanceId": 0,
- "metrics": {
- "avgProcessLatency": 0.1,
- "lastInvocation": 0,
- "oneMin": {
- "avgProcessLatency": 0.1,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0
}, - "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0,
- "userMetrics": {
- "property1": 0.1,
- "property2": 0.1
}
}
}
], - "lastInvocation": 0,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0
}
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
{- "instances": [
- {
- "instanceId": 0,
- "status": {
- "averageLatency": 0.1,
- "error": "string",
- "lastInvocationTime": 0,
- "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestUserExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReceived": 0,
- "numRestarts": 0,
- "numSuccessfullyProcessed": 0,
- "numSystemExceptions": 0,
- "numUserExceptions": 0,
- "running": true,
- "workerId": "string"
}
}
], - "numInstances": 0,
- "numRunning": 0
}
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
The value with which you want to trigger the Pulsar Function
+{- "brokerPublishTime": 0,
- "data": [
- "string"
], - "encryptionCtx": {
- "algorithm": "string",
- "batchSize": 0,
- "compressionType": "NONE",
- "keys": {
- "property1": {
- "keyValue": [
- "string"
], - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "keyValue": [
- "string"
], - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
}, - "param": [
- "string"
], - "uncompressedMessageSize": 0
}, - "eventTime": 0,
- "index": 0,
- "key": "string",
- "keyBytes": [
- "string"
], - "messageId": { },
- "orderingKey": [
- "string"
], - "producerName": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "publishTime": 0,
- "readerSchema": {
- "nativeSchema": { },
- "schemaInfo": {
- "name": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "schema": [
- "string"
], - "schemaDefinition": "string",
- "timestamp": 0,
- "type": "NONE"
}
}, - "redeliveryCount": 0,
- "replicated": true,
- "replicatedFrom": "string",
- "schemaVersion": [
- "string"
], - "sequenceId": 0,
- "topicName": "string",
- "value": { }
}
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
instanceId required | string The instanceId of a Pulsar Function (if instance-id is not provided, all instances are restarted + |
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
instanceId required | string The instanceId of a Pulsar Function (if instance-id is not provided, all instances sre started. + |
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
instanceId required | string The instanceId of a Pulsar Function (if instance-id is not provided, the stats of all instances is returned + |
{- "1min": {
- "avgProcessLatency": 0.1,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0
}, - "avgProcessLatency": 0.1,
- "lastInvocation": 0,
- "processedSuccessfullyTotal": 0,
- "receivedTotal": 0,
- "systemExceptionsTotal": 0,
- "userExceptionsTotal": 0,
- "userMetrics": {
- "property1": 0.1,
- "property2": 0.1
}
}
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
instanceId required | string The instanceId of a Pulsar Function (if instance-id is not provided, the stats of all instances is returned + |
{- "averageLatency": 0.1,
- "error": "string",
- "lastInvocationTime": 0,
- "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestUserExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReceived": 0,
- "numRestarts": 0,
- "numSuccessfullyProcessed": 0,
- "numSystemExceptions": 0,
- "numUserExceptions": 0,
- "running": true,
- "workerId": "string"
}
tenant required | string The tenant of a Pulsar Function + |
namespace required | string The namespace of a Pulsar Function + |
functionName required | string The name of a Pulsar Function + |
instanceId required | string The instanceId of a Pulsar Function (if instance-id is not provided, all instances are stopped. + |
type required | string |
tenant required | string |
namespace required | string |
{- "contact": "string",
- "createTime": 0,
- "description": "string",
- "modificationTime": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
type required | string |
tenant required | string |
namespace required | string |
packageName required | string |
version required | string |
{- "contact": "string",
- "createTime": 0,
- "description": "string",
- "modificationTime": 0,
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
tenant required | string The tenant of a Pulsar Sink + |
namespace required | string The namespace of a Pulsar Sink + |
sinkName required | string The name of a Pulsar Sink + |
{- "archive": "string",
- "autoAck": true,
- "className": "string",
- "cleanupSubscription": true,
- "configs": {
- "property1": { },
- "property2": { }
}, - "customRuntimeOptions": "string",
- "deadLetterTopic": "string",
- "inputSpecs": {
- "property1": {
- "consumerProperties": {
- "property1": "string",
- "property2": "string"
}, - "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "poolMessages": true,
- "receiverQueueSize": 0,
- "regexPattern": true,
- "schemaProperties": {
- "property1": "string",
- "property2": "string"
}, - "schemaType": "string",
- "serdeClassName": "string"
}, - "property2": {
- "consumerProperties": {
- "property1": "string",
- "property2": "string"
}, - "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "poolMessages": true,
- "receiverQueueSize": 0,
- "regexPattern": true,
- "schemaProperties": {
- "property1": "string",
- "property2": "string"
}, - "schemaType": "string",
- "serdeClassName": "string"
}
}, - "inputs": [
- "string"
], - "maxMessageRetries": 0,
- "name": "string",
- "namespace": "string",
- "negativeAckRedeliveryDelayMs": 0,
- "parallelism": 0,
- "processingGuarantees": "ATLEAST_ONCE",
- "resources": {
- "cpu": 0.1,
- "disk": 0,
- "ram": 0
}, - "retainKeyOrdering": true,
- "retainOrdering": true,
- "runtimeFlags": "string",
- "secrets": {
- "property1": { },
- "property2": { }
}, - "sourceSubscriptionName": "string",
- "sourceSubscriptionPosition": "Latest",
- "tenant": "string",
- "timeoutMs": 0,
- "topicToSchemaProperties": {
- "property1": "string",
- "property2": "string"
}, - "topicToSchemaType": {
- "property1": "string",
- "property2": "string"
}, - "topicToSerdeClassName": {
- "property1": "string",
- "property2": "string"
}, - "topicsPattern": "string"
}
tenant required | string The tenant of a Pulsar Sink + |
namespace required | string The namespace of a Pulsar Sink + |
sinkName required | string The name of a Pulsar Sink + |
You can submit a sink (in any languages that you are familiar with) to a Pulsar cluster. Follow the steps below.
+" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK">You can submit a sink (in any languages that you are familiar with) to a Pulsar cluster. Follow the steps below.
archive | string |
autoAck | boolean |
className | string |
cleanupSubscription | boolean |
object | |
customRuntimeOptions | string |
deadLetterTopic | string |
object | |
inputs | Array of strings |
maxMessageRetries | integer <int32> |
name | string |
namespace | string |
negativeAckRedeliveryDelayMs | integer <int64> |
parallelism | integer <int32> |
processingGuarantees | string Enum: "ATLEAST_ONCE" "ATMOST_ONCE" "EFFECTIVELY_ONCE" |
object (Resources) | |
retainKeyOrdering | boolean |
retainOrdering | boolean |
runtimeFlags | string |
object | |
sourceSubscriptionName | string |
sourceSubscriptionPosition | string Enum: "Latest" "Earliest" |
tenant | string |
timeoutMs | integer <int64> |
object | |
object | |
object | |
topicsPattern | string |
tenant required | string The tenant of a Pulsar Sink - |
namespace required | string The namespace of a Pulsar Sink - |
sinkName required | string The name of a Pulsar Sink - |
tenant required | string The tenant of a Pulsar Sink + |
namespace required | string The namespace of a Pulsar Sink + |
sinkName required | string The name of a Pulsar Sink + |
A JSON value presenting config payload of a Pulsar Sink. All available configuration options are:
+" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK">A JSON value presenting config payload of a Pulsar Sink. All available configuration options are:
archive | string |
autoAck | boolean |
className | string |
cleanupSubscription | boolean |
object | |
customRuntimeOptions | string |
deadLetterTopic | string |
object | |
inputs | Array of strings |
maxMessageRetries | integer <int32> |
name | string |
namespace | string |
negativeAckRedeliveryDelayMs | integer <int64> |
parallelism | integer <int32> |
processingGuarantees | string Enum: "ATLEAST_ONCE" "ATMOST_ONCE" "EFFECTIVELY_ONCE" |
object (Resources) | |
retainKeyOrdering | boolean |
retainOrdering | boolean |
runtimeFlags | string |
object | |
sourceSubscriptionName | string |
sourceSubscriptionPosition | string Enum: "Latest" "Earliest" |
tenant | string |
timeoutMs | integer <int64> |
object | |
object | |
object | |
topicsPattern | string |
tenant required | string The tenant of a Pulsar Sink - |
namespace required | string The namespace of a Pulsar Sink - |
sinkName required | string The name of a Pulsar Sink - |
{- "instances": [
- {
- "instanceId": 0,
- "status": {
- "error": "string",
- "lastReceivedTime": 0,
- "latestSinkExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReadFromPulsar": 0,
- "numRestarts": 0,
- "numSinkExceptions": 0,
- "numSystemExceptions": 0,
- "numWrittenToSink": 0,
- "running": true,
- "workerId": "string"
}
}
], - "numInstances": 0,
- "numRunning": 0
}
tenant required | string The tenant of a Pulsar Sink - |
namespace required | string The namespace of a Pulsar Sink - |
sinkName required | string The name of a Pulsar Sink - |
instanceId required | string The instanceId of a Pulsar Sink - |
{- "error": "string",
- "lastReceivedTime": 0,
- "latestSinkExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReadFromPulsar": 0,
- "numRestarts": 0,
- "numSinkExceptions": 0,
- "numSystemExceptions": 0,
- "numWrittenToSink": 0,
- "running": true,
- "workerId": "string"
}
tenant required | string The tenant of a Pulsar Source - |
namespace required | string The namespace of a Pulsar Source - |
sourceName required | string The name of a Pulsar Source - |
{- "archive": "string",
- "batchBuilder": "string",
- "batchSourceConfig": {
- "discoveryTriggererClassName": "string",
- "discoveryTriggererConfig": {
- "property1": { },
- "property2": { }
}
}, - "className": "string",
- "configs": {
- "property1": { },
- "property2": { }
}, - "customRuntimeOptions": "string",
- "name": "string",
- "namespace": "string",
- "parallelism": 0,
- "processingGuarantees": "ATLEAST_ONCE",
- "producerConfig": {
- "batchBuilder": "string",
- "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "maxPendingMessages": 0,
- "maxPendingMessagesAcrossPartitions": 0,
- "useThreadLocalProducers": true
}, - "resources": {
- "cpu": 0.1,
- "disk": 0,
- "ram": 0
}, - "runtimeFlags": "string",
- "schemaType": "string",
- "secrets": {
- "property1": { },
- "property2": { }
}, - "serdeClassName": "string",
- "tenant": "string",
- "topicName": "string"
}
tenant required | string The tenant of a Pulsar Source - |
namespace required | string The namespace of a Pulsar Source - |
sourceName required | string The name of a Pulsar Source - |
tenant required | string The tenant of a Pulsar Sink + |
namespace required | string The namespace of a Pulsar Sink + |
sinkName required | string The name of a Pulsar Sink + |
{- "instances": [
- {
- "instanceId": 0,
- "status": {
- "error": "string",
- "lastReceivedTime": 0,
- "latestSinkExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReadFromPulsar": 0,
- "numRestarts": 0,
- "numSinkExceptions": 0,
- "numSystemExceptions": 0,
- "numWrittenToSink": 0,
- "running": true,
- "workerId": "string"
}
}
], - "numInstances": 0,
- "numRunning": 0
}
tenant required | string The tenant of a Pulsar Sink + |
namespace required | string The namespace of a Pulsar Sink + |
sinkName required | string The name of a Pulsar Sink + |
instanceId required | string The instanceId of a Pulsar Sink + |
{- "error": "string",
- "lastReceivedTime": 0,
- "latestSinkExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReadFromPulsar": 0,
- "numRestarts": 0,
- "numSinkExceptions": 0,
- "numSystemExceptions": 0,
- "numWrittenToSink": 0,
- "running": true,
- "workerId": "string"
}
tenant required | string The tenant of a Pulsar Source + |
namespace required | string The namespace of a Pulsar Source + |
sourceName required | string The name of a Pulsar Source + |
{- "archive": "string",
- "batchBuilder": "string",
- "batchSourceConfig": {
- "discoveryTriggererClassName": "string",
- "discoveryTriggererConfig": {
- "property1": { },
- "property2": { }
}
}, - "className": "string",
- "configs": {
- "property1": { },
- "property2": { }
}, - "customRuntimeOptions": "string",
- "name": "string",
- "namespace": "string",
- "parallelism": 0,
- "processingGuarantees": "ATLEAST_ONCE",
- "producerConfig": {
- "batchBuilder": "string",
- "cryptoConfig": {
- "consumerCryptoFailureAction": "FAIL",
- "cryptoKeyReaderClassName": "string",
- "cryptoKeyReaderConfig": {
- "property1": { },
- "property2": { }
}, - "encryptionKeys": [
- "string"
], - "producerCryptoFailureAction": "FAIL"
}, - "maxPendingMessages": 0,
- "maxPendingMessagesAcrossPartitions": 0,
- "useThreadLocalProducers": true
}, - "resources": {
- "cpu": 0.1,
- "disk": 0,
- "ram": 0
}, - "runtimeFlags": "string",
- "schemaType": "string",
- "secrets": {
- "property1": { },
- "property2": { }
}, - "serdeClassName": "string",
- "tenant": "string",
- "topicName": "string"
}
tenant required | string The tenant of a Pulsar Source + |
namespace required | string The namespace of a Pulsar Source + |
sourceName required | string The name of a Pulsar Source + |
You can submit a source (in any languages that you are familiar with) to a Pulsar cluster. Follow the steps below.
+" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK">You can submit a source (in any languages that you are familiar with) to a Pulsar cluster. Follow the steps below.
archive | string |
batchBuilder | string |
object (BatchSourceConfig) | |
className | string |
object | |
customRuntimeOptions | string |
name | string |
namespace | string |
parallelism | integer <int32> |
processingGuarantees | string Enum: "ATLEAST_ONCE" "ATMOST_ONCE" "EFFECTIVELY_ONCE" |
object (ProducerConfig) | |
object (Resources) | |
runtimeFlags | string |
schemaType | string |
object | |
serdeClassName | string |
tenant | string |
topicName | string |
tenant required | string The tenant of a Pulsar Source - |
namespace required | string The namespace of a Pulsar Source - |
sourceName required | string The name of a Pulsar Source - |
tenant required | string The tenant of a Pulsar Source + |
namespace required | string The namespace of a Pulsar Source + |
sourceName required | string The name of a Pulsar Source + |
A JSON value presenting configuration payload of a Pulsar Source. An example of the expected functions can be found here.
+" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK">A JSON value presenting configuration payload of a Pulsar Source. An example of the expected functions can be found here.
archive | string |
batchBuilder | string |
object (BatchSourceConfig) | |
className | string |
object | |
customRuntimeOptions | string |
name | string |
namespace | string |
parallelism | integer <int32> |
processingGuarantees | string Enum: "ATLEAST_ONCE" "ATMOST_ONCE" "EFFECTIVELY_ONCE" |
object (ProducerConfig) | |
object (Resources) | |
runtimeFlags | string |
schemaType | string |
object | |
serdeClassName | string |
tenant | string |
topicName | string |
tenant required | string The tenant of a Pulsar Source - |
namespace required | string The namespace of a Pulsar Source - |
sourceName required | string The name of a Pulsar Source - |
{- "instances": [
- {
- "instanceId": 0,
- "status": {
- "error": "string",
- "lastReceivedTime": 0,
- "latestSourceExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReceivedFromSource": 0,
- "numRestarts": 0,
- "numSourceExceptions": 0,
- "numSystemExceptions": 0,
- "numWritten": 0,
- "running": true,
- "workerId": "string"
}
}
], - "numInstances": 0,
- "numRunning": 0
}
tenant required | string The tenant of a Pulsar Source - |
namespace required | string The namespace of a Pulsar Source - |
sourceName required | string The name of a Pulsar Source - |
instanceId required | string The instanceId of a Pulsar Source (if instance-id is not provided, the stats of all instances is returned). - |
tenant required | string The tenant of a Pulsar Source - |
namespace required | string The namespace of a Pulsar Source - |
sourceName required | string The name of a Pulsar Source - |
instanceId required | string The instanceId of a Pulsar Source (if instance-id is not provided, the stats of all instances is returned). - |
tenant required | string The tenant of a Pulsar Source - |
namespace required | string The namespace of a Pulsar Source - |
sourceName required | string The name of a Pulsar Source - |
instanceId required | string The instanceId of a Pulsar Source (if instance-id is not provided, the stats of all instances is returned). - |
{- "error": "string",
- "lastReceivedTime": 0,
- "latestSourceExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReceivedFromSource": 0,
- "numRestarts": 0,
- "numSourceExceptions": 0,
- "numSystemExceptions": 0,
- "numWritten": 0,
- "running": true,
- "workerId": "string"
}
tenant required | string The tenant of a Pulsar Source - |
namespace required | string The namespace of a Pulsar Source - |
sourceName required | string The name of a Pulsar Source - |
instanceId required | string The instanceId of a Pulsar Source (if instance-id is not provided, the stats of all instances is returned). - |
archive | string |
batchBuilder | string |
object (BatchSourceConfig) | |
className | string |
object | |
customRuntimeOptions | string |
name | string |
namespace | string |
parallelism | integer <int32> |
processingGuarantees | string Enum: "ATLEAST_ONCE" "ATMOST_ONCE" "EFFECTIVELY_ONCE" |
object (ProducerConfig) | |
object (Resources) | |
runtimeFlags | string |
schemaType | string |
object | |
serdeClassName | string |
tenant | string |
topicName | string |
tenant required | string The tenant of a Pulsar Source + |
namespace required | string The namespace of a Pulsar Source + |
sourceName required | string The name of a Pulsar Source + |
{- "instances": [
- {
- "instanceId": 0,
- "status": {
- "error": "string",
- "lastReceivedTime": 0,
- "latestSourceExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReceivedFromSource": 0,
- "numRestarts": 0,
- "numSourceExceptions": 0,
- "numSystemExceptions": 0,
- "numWritten": 0,
- "running": true,
- "workerId": "string"
}
}
], - "numInstances": 0,
- "numRunning": 0
}
tenant required | string The tenant of a Pulsar Source + |
namespace required | string The namespace of a Pulsar Source + |
sourceName required | string The name of a Pulsar Source + |
instanceId required | string The instanceId of a Pulsar Source (if instance-id is not provided, the stats of all instances is returned). + |
tenant required | string The tenant of a Pulsar Source + |
namespace required | string The namespace of a Pulsar Source + |
sourceName required | string The name of a Pulsar Source + |
instanceId required | string The instanceId of a Pulsar Source (if instance-id is not provided, the stats of all instances is returned). + |
tenant required | string The tenant of a Pulsar Source + |
namespace required | string The namespace of a Pulsar Source + |
sourceName required | string The name of a Pulsar Source + |
instanceId required | string The instanceId of a Pulsar Source (if instance-id is not provided, the stats of all instances is returned). + |
{- "error": "string",
- "lastReceivedTime": 0,
- "latestSourceExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "latestSystemExceptions": [
- {
- "exceptionString": "string",
- "timestampMs": 0
}
], - "numReceivedFromSource": 0,
- "numRestarts": 0,
- "numSourceExceptions": 0,
- "numSystemExceptions": 0,
- "numWritten": 0,
- "running": true,
- "workerId": "string"
}
tenant required | string The tenant of a Pulsar Source + |
namespace required | string The namespace of a Pulsar Source + |
sourceName required | string The name of a Pulsar Source + |
instanceId required | string The instanceId of a Pulsar Source (if instance-id is not provided, the stats of all instances is returned). + |