Skip to content

fix: lower max msg byte in docker to allow us to test against kafka 4.0 #1392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

petedannemann
Copy link
Contributor

@petedannemann petedannemann commented Jun 25, 2025

Kafka 4.0 currently runs out of memory when a high max message size is used, lowering this allows us to test against Kafka 4.0 in CI #1360 (comment)

For consistency I have done this everywhere for all Kafka versions we test against. It was probably a mistake to make it so large from the start

@dajac
Copy link

dajac commented Jun 25, 2025

If it is not enough, you can try to reduce it further (e.g. 1MB) and you can also reduce the number of partitions with offsets.topic.num.partitions. It is 50 by default. 5 may be enough for your tests.

@petedannemann petedannemann changed the title fix: lower max msg byte in docker compose to allow us to test against kafka 4.0 fix: lower max msg byte in docker to allow us to test against kafka 4.0 Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants