@Override
    public final void publish(final RegisteredService service, final ApplicationEvent event,
                              final PublisherIdentifier publisherIdentifier) {
        if (!BaseCasRegisteredServiceEvent.class.isAssignableFrom(event.getClass())) {
            return;
        }
        LOGGER.debug("Publishing service definition [{}] for event [{}] with publisher [{}]",
            service.getName(), event.getClass().getSimpleName(), publisherIdentifier);
        publishInternal(service, event, publisherIdentifier);
    }
This is {@link BaseCasRegisteredServiceStreamPublisher}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-service-registry-stream/src/main/java/org/apereo/cas/services/publisher/BaseCasRegisteredServiceStreamPublisher.java