Hello, I am working on streaming my event logs through kafka with "async" producer. My understanding is that when broker is not reachable, messages will get dropped when the buffer is full. I am wondering whether there is a way to prevent data loss. e.g. dump messages to local files or something like that. Or in general, what's a good practice to prevent data loss.
Thanks, -Xiaoyu