InterviewSolution
Saved Bookmarks
| 1. |
How do we send large messages with Kafka? |
|
Answer» Kafka system by default does not handle the large size of data. The data max size is 1 MB but there are ways to increase that size. We should also ensure to increase the network buffers as well for our consumers and producers system. We need to adjust a few PROPERTIES to achieve the same :
Now it is clear that if we would like to SEND large Kafka messages then it can be easily achieved by tweaking few properties explained above. The broker related config can be FOUND at $KAFKA_HOME/config/server.properties while consumer-related config found at $KAFKA_HOME/config/consumer.properties |
|