produce
and consume
. In addition, you can revoke permissions from specific users, which means that those users cannot access the specified namespace.
Policy | Action |
---|---|
producer_request_hold | The broker holds but does not persist producers’ request payload. |
producer_exception | The broker disconnects from the client by throwing an exception. |
consumer_backlog_eviction | The broker begins discarding backlog messages. |
msg-dispatch-rate
) or by the number of bytes of messages per second (byte-dispatch-rate
). Dispatch rate is in seconds and it can be configured with dispatch-rate-period
. By default, msg-dispatch-rate
and byte-dispatch-rate
are both set to -1, which indicates that throttling is disabled.
Item | Description |
---|---|
In Rate | The ingress rate of the namespace. |
Out Rate | The egress rate of the namespace. |
In Throughput | The ingress throughput of the namespace. |
Out Throughput | The egress throughput of the namespace. |
Item | Description |
---|---|
Clusters | Select a replication cluster. Messages of the topics in this namespace are asynchronically replicated between the configured replication clusters. Currently, this item is set to the cluster you created because there is only one cluster available for an instance. |
Authorization | Grant/Revoke permissions to other client roles in this namespace. - consume: grant/revoke the consuming action. - produce: grant/revoke the producing action. - functions: grant/revoke the Pulsar functions action. |
Subscription Authentication | Configure the subscription authentication mode to limit the naming convention for subscriptions when authentication is enabled. - None: clients can use any allowed subscription name to connect to the cluster. - Prefix: clients can only use subscription names that are prefixed with their role names to subscribe messages. By default, it is set to None . |
Storage | Configure the storage policy for the namespace. Replication Factor: configure the storage replication settings. - Ensemble size: configure the number of bookies to be used when creating a ledger. - Write Quorum Size: configure the number of replicas to be stored for each message. - Ack Quorum Size: configure the number of responses to wait before claiming a message is guaranteed to be stored. Mark-Delete Rate: configure the number of mark-deletion calls that are allowed for each second. When the value is set to 0, the rate limiter is disabled. By default, the value is set to 0. Encryption Required: enable/disable message encryption for the namespace. - Enabled: enable message encryption for the namespace. - Disabled: disable message encryption for the namespace. Deduplication: enable/disable deduplication for the namespace. - Enabled: enable deduplication for the namespace. - Disabled: disable deduplication for the namespace. |
Backlog | Configure the backlog policy for the namespace. Backlog Quota Size: configure the maximum backlog quota (in bytes) allowed for the namespace. The backlog quota size must be smaller than 1000000000 bytes. By default, it is set to -1073741824 bytes. Backlog Retention Policy: configure the backlog retention policy. - consumer_backlog_eviction: the broker starts discarding backlog messages. - producer_exception: the broker disconnects with the client by giving an exception. - producer_request_hold: the broker holds but does not persist producer request payload. |
Schema | Configure the schema policy for the namespace. - AutoUpdate Strategy: configure the automatic update strategy for the namespace. - Schema Validation Enforced: enable/disable schema validation for producers without schema. If it is disabled, producers without schema are disallowed to produce messages to topics with schema. |
Cleanup Policy | Configure the cleanup policy for the namespace. - Message TTL (seconds): configure the message TTL in seconds. If messages are not consumed by any consumer of a subscription, they are marked as consumed after the configured TTL period expires. - Retention Size (bytes): configure the retention size. This field is only applied to the messages that are acknowledged by all subscriptions. The retention size must be smaller than 1000 MB. By default, it is set to 0. - Retention Period (minutes): configure the retention period. This field is only applied to the messages that are acknowledged by all subscriptions. By default, it is set to 0. - Compaction Threshold (bytes): configure the threshold to compact topics. The compaction is automatically triggered when the threshold is reached. By default, it is set to 0. - Offload Threshold (bytes): configure the threshold to offload messages. Messages are automatically offloaded to the tiered storage when the threshold is reached. By default, it is set to -1. - Offload Deletion Lag (milliseconds): configure the time (in milliseconds) to wait before deleting a ledger offloaded from the BookKeeper. When the value is set to a negative value, offloading deletion is disabled. |
Throttling | Configure the throttling policy for the namespace. - Max Producers Per Topic: configure the maximum number of producers allowed for each topic. - Max Consumers Per Topic: configure the maximum number of consumers allowed for each topic. - Max Consumers Per Subscription: configure the maximum number of consumers allowed for each subscription. |
Dispatch Rate | Configure the dispatch rate policy for the namespace. Dispatch Rate Per Topic: configure the dispatch rate based on the topic. - Throughput (bytes/second): configure the dispatch rate of bytes in a topic. - Rate (messages/second): configure the dispatch rate of messages in a topic. - Time Period (seconds): configure the dispatch rate period. Dispatch Rate Per Subscription: configure the dispatch rate based on the subscription mode. - Throughput (bytes/second): configure the dispatch rate of bytes for a subscription. - Rate (messages/second): configure the dispatch rate of messages for a subscription. - Time Period (seconds): configure the dispatch rate period. Subscribe Rate Per Consumer: configure the rate at which a consumer subscribes to a topic. - Throughput (bytes/second): configure the throughput for a topic that a consumer subscribes to. - Rate (messages/second): configure the rate for a topic that a consumer subscribes to. |