I want to know that can I send event to user when broker is avaliable and not available.
My apply is if sending message to kafka fails, I'll write the message to disk, when kafka is available next time, I'll send the failed message first, and I need to gurantee the squence of the messages.
If would be very helpful is there is synchronous rd_kafka_produce method.
looking forward to your reply.