@ Deprecated public void sendEvent ( String eventId , String ymlPrivileges ) { SystemEvent event = buildSystemEvent ( eventId , ymlPrivileges ) ; serializeEvent ( event ) . ifPresent ( this :: send ) ; }
Build message for kafka s event and send it .