HomeSoftware Heritage

fix(relay): Increase Kafka message size limit to 50MB (#527)

Description

fix(relay): Increase Kafka message size limit to 50MB (#527)

Based on my forum post https://forum.sentry.io/t/sentry-native-and-kafka-messagesizetoolarge-error/9948
In short I tried to send minidumps more than 1mb(in fact 2mb), and relay service failed to store event, with kafka error MessageSizeTooLarge.
You can reproduce this if you recreate install this on local machine, create simple native project, and send minidump file more than 1mb via curl like suggested in docs or in web ui. And check the logs.

I reason selected value of 50mb on https://github.com/getsentry/onpremise/blob/master/docker-compose.yml#L87, like you already hardcoded on kafka service.

Details

Provenance
Alexander Kalyuzhnyy <gxeash@gmail.com>Authored on Jun 11 2020, 9:33 PM
GitHub <noreply@github.com>Committed on Jun 11 2020, 9:33 PM
olasdPushed on Dec 15 2020, 11:43 AM
Parents
R206:c2120aafc94e: fix(zookeeper): Temp ZK fix should run in detached mode (#525)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed R206:677e753c186c: fix(relay): Increase Kafka message size limit to 50MB (#527) (authored by Alexander Kalyuzhnyy <gxeash@gmail.com>).Jun 11 2020, 9:33 PM