Skip to content
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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ services:
KAFKA_CFG_LISTENERS: PLAINTEXT://:9092
KAFKA_CFG_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092
KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_CFG_MAX_REQUEST_SIZE: 20971520
KAFKA_CFG_MESSAGE_MAX_BYTES: 20971520
ALLOW_PLAINTEXT_LISTENER: 'true'

object_storage:
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.hobby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ services:
SENTRY_DSN: $SENTRY_DSN
SITE_URL: https://$DOMAIN
SECRET_KEY: $POSTHOG_SECRET
# KAFKA_MAX_REQUEST_SIZE default 1MB, change to 2MB
SESSION_RECORDING_KAFKA_MAX_REQUEST_SIZE_BYTES: 20971520
plugins:
extends:
file: docker-compose.base.yml
Expand All @@ -92,6 +94,7 @@ services:
- '443:443'
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy-data:/data
depends_on:
- web
object_storage:
Expand Down Expand Up @@ -153,3 +156,4 @@ volumes:
object_storage:
postgres-data:
clickhouse-data:
caddy-data:
Loading