Mustaque
05/21/2025, 8:20 PMpulsar-perf consume --service-url <pulsar://localhost:6650> --subscription-type Shared --rate 10000 --num-subscriptions 10 --num-consumers 10 --subscription-position Earliest <persistent://public/default/my-topic>RunLLM
05/21/2025, 8:20 PMpulsar-perf consume is not receiving messages already present in the topic, check the --subscription-position flag. By default, consumers start at the latest position and only receive new messages. To consume existing messages, set --subscription-position Earliest (which you already did), but also ensure the subscription does not already exist and has not acknowledged messages before, as the initial position only applies to new subscriptions. If the subscription exists, it will resume from the last acknowledged message, not from the earliest.
If you want to always consume all messages from the beginning, use a new, unique subscription name each time you run the command. For example, add --subscriptions my-unique-sub with a different value for each run. For more, see Pulsar Perf consume messages.
Would you like more detail?
Sources:
- Pulsar Perf consume messages 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.Mustaque
05/21/2025, 8:24 PMRunLLM
05/21/2025, 8:24 PM