@Override
    protected void handleCasRegisteredServiceDeletedEvent(final RegisteredService service, final ApplicationEvent event,
                                                          final PublisherIdentifier publisherId) {
        val item = getCacheObject(service, event, publisherId);
        LOGGER.debug("Removing service [{}] from cache [{}] @ [{}]", service, distributedCacheManager.getName(), item.getTimestamp());
        this.distributedCacheManager.update(service, item, true);
    }
This is {@link DefaultCasRegisteredServiceStreamPublisher}.

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