code: @Deprecated
      public void sendEvent(String eventId, String ymlPrivileges) {
          SystemEvent event = buildSystemEvent(eventId, ymlPrivileges);
          serializeEvent(event).ifPresent(this::send);
      }
docs: Build message for kafka's event and send it.
  
  @param eventId       the event id
  @param ymlPrivileges the content
  @deprecated left only for backward compatibility, use {@link #sendEvent(String, Set)}