Added support for the variation of the number of event producers