I have a very large DMN table. Its essentially a bunch of rules that are different for every US state. There can be 50-60 rules per state. Each rule has 7 input fields and 2-3 outputs. When I try to do these in a single table I get an error when I try to deploy. I get "Command ‘CREATE’ rejected with code ‘EXCEEDED_BATCH_RECORD_SIZE’: [deploy-error]. Is there an explicit limit to the dmn size? I realize I could break them up into individual rule services 1 per state but the user preference is to have the rules together so we dont have to jump into so many files when making a change. In my particular example , once I hit 1846 rows it works but adding the 1847th row it fails. Any advice/info would be appreciated
Hi @bsmith
Most probably, this is not about the number of rows but about the total byte size of the serialized DMN.
Could be about maxMessageSize
Thanks @Alex_Voloshyn - I see the source dmn size is about 2 MB. Unfortunately this is SAAS so am I right in assuming there is no way to customize maxmessageSize there?
Even more detailed explanation:
- The overall size of the deployment bundle is limited due to a maximum record size of 4 MB in Zeebe.
- The limit is effectively between 2 and 3 MB, as Zeebe writes more data to the log stream than just the raw deployment.
- If you exceed the limit, you are shown an error message:
Command 'CREATE' rejected with code 'EXCEEDED_BATCH_RECORD_SIZE'.
Looks like the case here. And yes, I do not think we have a way to change it for SAAS, the general recommendation is to keep it smaller size.