Skip to content

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

Draft
petedannemann wants to merge 6 commits into
mainfrom
fix/lower-docker-compose-max-msg-size
Draft

fix: lower max msg byte in docker to allow us to test against kafka 4.0#1392
petedannemann wants to merge 6 commits into
mainfrom
fix/lower-docker-compose-max-msg-size

Conversation

@petedannemann

@petedannemann petedannemann commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

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

dajac commented Jun 25, 2025

Copy link
Copy Markdown

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