Considering that all the customers that are currently using the Kafka Producer for metrics reconfigured their brokers (and the producer itself) to allow large messages to avoid this issue (as this is a known problem since day one), and all those customers already wrote code with this in mind, is the split operation going to be enabled by default? If so, what kind of changes would be required for the customers to use it?
I hope it is not enabled by default (even if it is a useful enhancement), as you're targeting an existing Meridian version.
Currently, Kafka Producer for metrics doesn't split message and put all the metrics it receives for a resource into one message.
Sometimes this may be over 1MB which may result in MessageSizeTooLargeException exceptions in Kafka.
To resolve this, we could split resources into several chunks and send with the same timestamp.