kmp_max_republishes
The `kmp_max_republishes` directive sets the maximum number of times a media item can be republished in the Kaltura Media Framework.
Description
The kmp_max_republishes directive is a configuration parameter in the Kaltura Media Framework's NGINX module that defines the upper limit on the re-publication of media items. This is particularly relevant in scenarios where media items are transient and may need to be re-published due to failures or updates in the system. By managing the number of republishing attempts, this directive can help prevent unnecessary resource consumption and potential infinite loops during the media processing workflow. If this limit is exceeded, the system can trigger alerts or log errors based on the configured logging behavior.
The value for kmp_max_republishes must be a positive integer, which specifies how many times a media item can be republished after its initial publication. Setting this parameter correctly is vital for maintaining efficient media asset management. An excessively high value may lead to inefficient use of system resources, while a low value might restrict the ability to handle media processing failures effectively.
Config Example
kmp_max_republishes 5;
Ensure the value is a positive integer; non-integer values will lead to configuration errors.
Setting the value too low may cause valid republish attempts to fail, leading to missed media availability during processing.
Reevaluation of the media workflow may be necessary if the limit is frequently reached.