Skip to content

How to tune Kafka UI to handle large messages? #870

Answered by germanosin
TheDukeDK asked this question in Q&A
Discussion options

You must be logged in to vote
  1. The max-partition-fetch-bytes consumer configuration controls how messages larger than 1MB are handled. It is recommended to increase this value. Reference.

  2. By default, Java in Docker allocates 25% of the available memory for the heap. It is advisable to increase this to 50%. Reference.

  3. I noticed that your instance is allocated 0.5 CPU. When Java detects 1 CPU, it defaults to the Serial GC. In this case, it's recommended to use G1GC (-XX:+UseG1GC).

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@germanosin
Comment options

@TheDukeDK
Comment options

@germanosin
Comment options

Answer selected by TheDukeDK
@TheDukeDK
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants