properly rename maxMessagesPerEvent