In JMX for Kafka producer there are metrics for both request, record, and batch size Max + Avg.
What is the difference between these concepts? In the logging use case: I assume record is the single log line, batch is multiple log lines together and request is the batch wrapped with the metadata to be sent. Can someone confirm or correct this assumption? I need to be able to see how big a message is so i can properly tune this setting: message.max.bytes. The confusion i have is do i use the request or the record metric. Thanks, -- Allen Michael Chan