-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix: kafka.errors.MessageSizeTooLargeError #19634
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I see no issue with it, especially given the default docker compose should support the higher message size 🤔
@benjackwhite only thing I can think is that maybe it should be configurable... 2MB works for this user... 1MB has worked previously without reports... We really should have better visibility on how big these messages are and what users can do about it 🤔 |
Given this is the hobby deploy and the kafka config only affects this local kafka, I think it's still pretty safe. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not recommend changing the defaults for the hobby deploy:
- as Paul has mentioned, 2MiB would not fix it for everyone anyway, and increasing the Kafka message size too much comes with operational challenges on the Kafka side that I do not wish to investigate
- the analytics pipeline assumes a 1MiB limit and does not check sizes on the producer size. It probably should, but in the meantime increasing this default introduces the risk of a PR working on local devenv and CI (with 2MiB message limit), then failing on prod where we use 1MiB. I don't want to take that risk
- lastly, our compose stack does not use the bitnami image anymore, but https://github.com/PostHog/kafka-container, so this PR would not use the linked PR
I don't oppose making it configurable, but I strongly suggest to keep the default at 1MiB.
This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the |
This PR was closed due to lack of activity. Feel free to reopen if it's still relevant. |
Problem
fix #19633
solution
related to bitnami/containers#54458
another thing