RecordTooLargeException: Fixing Kafka's Message Size Limits
RecordTooLargeException fires from two different places for two different reasons. Here's how to tell which one hit you, and the fix that actually holds.
Hitting RecordTooLargeException in Kafka? Learn why the 1MB default bites on both producer and broker, and the exact configs to fix it properly.