GitHub user lhotari closed the discussion with a comment: async/sync mode in pulsar producer and consumer
> I have tried very simple implementation with pulsar as a way to identify the > workings of sync and async modes which lets to no results. It might help to share more details about the problem. >From the sources jars I noticed that 'send()' method uses 'sendAsync()' method >so can you please confirm with the 'send()' method that are we using sync mode >or async mode I can confirm your observation that send uses sendAsync in the implementation. When you are using "send", you are using the synchronous API call and when you are calling "sendAsync", it's an asynchronous API call, that returns a CompletableFuture. I hope this helps. GitHub link: https://github.com/apache/pulsar/discussions/22382#discussioncomment-8994562 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
