I am very new to Apache Kafka and I want my messages to be splitted into chunks when sent to the consumer. When the message bytes larger than the maximum request size, I want them to be splitted into chunks.
So I implemented it, however I want to guarantee that the messages are sent in the same order. How can I achieve this? If you want to review my code, here is the link: https://github.com/beyzayildirim137/msgChunking.git
Hope someone can help.