I want to push a message into a kafka topic on my local machine.
But every time I'm trying to do it, I'm getting an error:
kafka.common.InvalidMessageSizeException: invalid message size
Increasing the fetch.size is not ideal here, because I don't actually want to accept messages that big.
Is there a way to purge the topic in kafka?
Thanks in advance!