The Go Pulsar client does not currently support the batch receive feature. While the Java client has batch receive via the BatchReceivePolicy and batchReceive() API, this feature is not yet available in the Go client, though there are open issues and draft PRs discussing its addition. You can track progress in issues such as
#840 and
#892.
Would you like more detail on the current status or alternatives?
Sources:
-
Add support for batch receiving messages
-
Support batch recive and ack 👍 0 button 👎 0 button 💡
Hint: Mention @runllm in the thread for followups.