apache/pulsar

[Doc] Description for Producer SendAsync Needs Updating

Geschlossen

#23.643 geöffnet am 26.11.2024

 (4 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Java (3.485 Forks)batch import
doc-requiredgood first issue

Repository-Metriken

Stars
 (13.697 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 3T 10h) (146 gemergte PRs in 30 T)

Beschreibung

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!

Contributor Guide