In TDMQ for Pulsar, a namespace is a logical isolation unit that helps organize and manage topics, producers, consumers, and other resources within a Pulsar cluster. It provides a way to group related entities together, enabling fine-grained access control, resource management, and configuration at a scoped level. Namespaces are essential for multi-tenant environments, where different teams or applications need to share the same Pulsar cluster while maintaining isolation.
customer-a namespace, while Customer B’s messages are in the customer-b namespace.A logistics company uses TDMQ for Pulsar to manage messages for its delivery tracking system. It creates two namespaces:
package-tracking: For messages related to package delivery status.fleet-management: For messages related to vehicle tracking and maintenance.Each namespace has its own retention policy and access permissions, ensuring that package-related data is isolated from fleet-related data.
For such use cases, TDMQ for Pulsar on Tencent Cloud provides a fully managed, scalable, and reliable messaging service, ensuring high performance and low latency for distributed applications.