Skip to content

Commit

Permalink
fix: expose producer max.request.size as an extra env var (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl authored Jan 30, 2024
1 parent 621ef63 commit d1c5418
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ spring:
producer:
configuration:
compression.type: ${COMPRESSION_TYPE:gzip}
# 1 MiB = 1048576 Byte
max.request.size: ${KAFKA_PRODUCER_MAX_REQUEST_SIZE:1048576}
binder:
configuration:
max.poll.interval.ms: ${MAX_POLL_INTERVAL_MS:300000}
Expand Down

0 comments on commit d1c5418

Please sign in to comment.