Slackbot
12/26/2023, 12:51 PMAsaf Mesika
12/28/2023, 1:30 PM• Sync Send: The producer will wait for consumer to consume and send acknowledge, if the acknowledgment is not received, process will be considered as failure.This is wrong. It means it is placed in the send queue and blocks the thread until the server (broker) returns an acknowledgment that the write succeeded. It has nothing to do with the Consumer API.
Asaf Mesika
12/28/2023, 1:32 PMThe producer puts a message into blocking queue and returns afterwards. The client library sends the message to the broker in the background.sync does the same. The only difference is that async returns the Future and sync, wait on that Future in a blocking fashion.
Umut Bilal Okur
12/28/2023, 1:43 PM