diff options
author | S7evinK <tfaelligen@gmail.com> | 2020-10-27 15:11:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 14:11:37 +0000 |
commit | d5675feb96b7e3996ca2768fddb9f534dc268816 (patch) | |
tree | f2b458c6bbe9a89d3e28474ffefa38614cdb7bfa /dendrite-config.yaml | |
parent | c5888bb64cc4b393bccf0fa79d667680144902d0 (diff) |
Add possibilty to configure MaxMessageBytes for sarama (#1563)
* Add configuration for max_message_bytes for sarama
* Log all errors when sending multiple messages
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
* Add missing config
* - Better comments on what MaxMessageBytes is used for
- Also sets the size the consumer may use
Diffstat (limited to 'dendrite-config.yaml')
-rw-r--r-- | dendrite-config.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dendrite-config.yaml b/dendrite-config.yaml index e5cbd478..25503692 100644 --- a/dendrite-config.yaml +++ b/dendrite-config.yaml @@ -76,6 +76,12 @@ global: # Kafka. use_naffka: true + # The max size a Kafka message is allowed to use. + # You only need to change this value, if you encounter issues with too large messages. + # Must be less than/equal to "max.message.bytes" configured in Kafka. + # Defaults to 8388608 bytes. + # max_message_bytes: 8388608 + # Naffka database options. Not required when using Kafka. naffka_database: connection_string: file:naffka.db |