protected void publishInternal(final RegisteredService service, final ApplicationEvent event,
                                   final PublisherIdentifier publisherId) {
        if (event instanceof CasRegisteredServiceDeletedEvent) {
            handleCasRegisteredServiceDeletedEvent(service, event, publisherId);
            return;
        }
        if (event instanceof CasRegisteredServiceSavedEvent || event instanceof CasRegisteredServiceLoadedEvent) {
            handleCasRegisteredServiceUpdateEvents(service, event, publisherId);
            return;
        }
        LOGGER.warn("Unsupported event [{}] for service replication", event);
    }
Publish internal.

@param service     the service
@param event       the event
@param publisherId the publisher id
support/cas-server-support-service-registry-stream/src/main/java/org/apereo/cas/services/publisher/BaseCasRegisteredServiceStreamPublisher.java