Setting up large message handling for on-premises environments
Pega Platform queue processing can automatically handle messages that
exceed the Stream Service default file size threshold. Setting up this feature prevents
large messages from breaking when they generate a RecordTooLargeException
exception.
Pega Cloud enables the automatic large
message exception handling feature by default. To make the feature available for an
on-premises or client-managed cloud implementation, you must set up a large message
repository and enable the feature by using dynamic system settings.
- Configure a distributed repository using the Data-Repository Pega Platform class. The repository needs to be shared by all nodes in the cluster. Not all repository types apply. For example, you can use the file system repository type only if it points to a folder on a network drive that all the cluster nodes can access.
- In the navigation panel, click .
- Click the following setting key and enter the name of your new
repository:
- Owning ruleset: Pega-Engine
- Setting key: queueprocessors/largemessagesnapshot/repository
- Click the following setting key and enter true:
- Owning ruleset: Pega-Engine
- Setting key: queueprocessors/largemessagesnapshot/enabled
- Click Save.
- If necessary, you can change the default base path for the repository using the
following setting key. This setting is not available in Dev Studio, however. For more information, see Editing a dynamic system setting.
- Owning ruleset: Pega-Engine
- Setting key: queueprocessors/largemessagesnapshot/basepath
- Value type: string
- Default value: queueProcessors/largeMessageSnapshots
Previous topic Large message exception handling in queue processing Next topic Queue processor rules