we are not able to publish the messages to kafka topic when the message is more than 1MB, we are getting the batchexception., we have increased the message.max.size to 15 MB in the tomcat folder kafka folder.
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.