GitHub user lhotari added a comment to the discussion: async/sync mode in 
pulsar producer and consumer

> 1. For synchronous mode we use send() method 
> 2. For asynchronous mode we use sendAsync() method

@ragaur-tibco yes.

> if answer to the above two points is yes then why is send() method internally 
> calling the sendAsync() method

@ragaur-tibco I don't really understand the point of the question. Do you have 
a problem with this implementation? What are your expectations for send and 
sendAsync? Is there some expectation that isn't met?


GitHub link: 
https://github.com/apache/pulsar/discussions/22382#discussioncomment-8982733

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to