Hi all, We previously have replica.max.lag.message set to 4000 and use sync producer to send data to kafka, one message at a time. With this, we don't see many unclean leader election.
Recently, we switched to use sync producer and batch messages. After that, we see unclean leader election more often. Did you observe the same? Do you have recommendations about how broker configuration should be adjusted based on the batch size? Thanks,