fn is_critical_event_type( event_type: &str, critical_event_types: &HashSet<String>, ) -> bool
Check if an event type is critical and should always be persisted in Full mode