1 send(MSG) Send and forget

2 send(MSG).get() Synchronously sends the packets. After the packets are sent, the packets are returned. If the packets are sent successfully, the packets are sent again

3 send(MSG,newClass() implements CallBack) An asynchronous message is sent. After the message is sent, the next message is sent. The returned result is processed in the CallBack function.

The Definitive Guide to Kafka the Woodpecker

Interview questions are often asked