Description
The default max.message.size for a producer is ~976kB. The default fetch.size for a consumer is 300kB. Having the default fetch.size less than the default max.message.size causes new users with messages larger than fetch.size to run into the InvalidMessageSizeException issue.
Making the default max.message.size less than or equal to the default fetch.size would eliminate that problem for most new setups.