Sreenath Sasidharan
04/11/2025, 6:50 PMRunLLM
04/11/2025, 6:50 PMShared or Key_Shared. These subscription types allow multiple consumers to read from the same topic. The Shared subscription type distributes messages across consumers without guaranteeing order, while Key_Shared maintains order for messages with the same key.
2. Consumer Configuration: Check the consumer configuration to ensure that the receiverQueueSize is set appropriately. A larger queue size can help improve throughput by allowing more messages to be prefetched and processed concurrently.
3. Function Configuration: If you are using Pulsar Functions, ensure that the function's parallelism is set correctly. The parallelism setting determines how many instances of the function can run concurrently, which can affect how messages are processed.
If you need more detailed guidance on configuring these settings, please let me know.
Sources:
- Apache Pulsar Concepts - Subscription Types 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.