support specifying message size in emc config

This commit is contained in:
Timothy Pogue
2022-09-13 16:39:53 -06:00
parent d75d5a7dad
commit 06350a13cb
2 changed files with 10 additions and 1 deletions

View File

@@ -511,6 +511,12 @@ CONF_SCHEMA = {
'minimum': 0,
'maximum': 1500,
'default': 1500
},
'max_message_size': {
'type': 'integer',
'minimum': 1048576, # 1mb
'maxmium': 8388608, # 8.3mb,
'default': 1048576, # 1mb
}
},
'required': ['producers']