Suhas Karanth
03/28/2025, 9:48 AMRunLLM
03/28/2025, 9:48 AM{persistent|non-persistent}://tenant/namespace/topic. This structure highlights Pulsar's multi-tenancy capabilities. The components are:
1. Domain: Indicates whether the topic is persistent or non-persistent. Persistent topics store messages on disk, ensuring durability, while non-persistent topics do not store messages on disk.
2. Tenant: Represents the administrative unit within a Pulsar instance, supporting multi-tenancy by allowing different tenants to have separate configurations and policies.
3. Namespace: Acts as a logical grouping of topics within a tenant, where configuration policies apply to all topics in the namespace.
4. Topic: The specific name of the topic within the namespace, which serves as a channel for message transmission.
For more details, you can refer to the Apache Pulsar documentation.
Would you like more detail on any specific part of the topic name structure?
Sources:
- Apache Pulsar Concepts 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.Suhas Karanth
03/28/2025, 9:49 AMRunLLM
03/28/2025, 9:49 AMpublic tenant and the default namespace. This setup allows you to start producing and consuming messages without needing to configure tenants and namespaces explicitly.
For more information, you can refer to the Pulsar documentation.
Would you like more details on how to use the default tenant and namespace?
Sources:
- Pulsar Standalone Docker 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.Suhas Karanth
03/28/2025, 9:57 AMRunLLM
03/28/2025, 9:57 AMGetTopicName function is used to parse and validate topic names. It checks if the topic name is in the correct format, which should be either persistent://tenant/namespace/topic or non-persistent://tenant/namespace/topic. If the format is incorrect, it returns an error.
For example, the GetTopicName function will return an error if the topic name does not specify a valid domain (either persistent or non-persistent) or if the tenant, namespace, or topic is missing or incorrectly formatted.
For more details, you can refer to the Pulsar Go client source code.
Would you like more information on how to use this function?
Sources:
- Pulsar Go Client Topic Name Test 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.Suhas Karanth
03/28/2025, 10:15 AMRunLLM
03/28/2025, 10:15 AM/) are not allowed in subscription names as they can cause errors in HTTP API calls, as noted in a Pulsar GitHub pull request.
2. Validation: There is ongoing work to introduce validation for subscription names to ensure they do not contain invisible or problematic characters, as discussed in Pulsar GitHub issues.
For more details on subscription naming conventions and restrictions, you can refer to the Pulsar documentation.
Would you like more information on subscription naming practices?
Sources:
- Pulsar GitHub Pull Request
- Pulsar GitHub Issue
- Pulsar documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.