apache/pulsar

[Doc] Description for Producer SendAsync Needs Updating

已關閉

#23,643 建立於 2024年11月26日

 (4 則留言) (1 個反應) (0 位負責人)Java (3,485 個分叉)batch import
doc-requiredgood first issue

倉庫指標

星標
 (13,697 顆星)
PR 合併指標
 (平均合併 3天 10小時) (30 天內合併 146 個 PR)

描述

Search before asking

  • I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?

The description for SendAsync implies that it is a blocking operation, but asynchronous calls should be non-blocking and occur in a background thread.

What is your suggestion?

The SendAsync method in Pulsar is designed to send messages asynchronously, allowing the application to continue processing other tasks without waiting for the send operation to complete. A user-defined callback function is invoked upon the completion of the send operation which can be used to track the success / failure of the send operation.

Any reference?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

貢獻者指南