we should have an option for unrestricted max size, for example `max_event_size = 0`