@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public QueueableTicketRegistryMessagePublisher messageQueueTicketRegistryPublisher(
        @Qualifier("pubSubMessageConverter")
        final PubSubMessageConverter pubSubMessageConverter,
        @Qualifier("messageQueueTicketRegistryIdentifier")
        final PublisherIdentifier messageQueueTicketRegistryIdentifier,
        final PubSubTemplate pubSubTemplate) {
        LOGGER.debug("Configuring Google Cloud ticket registry with identifier [{}]", messageQueueTicketRegistryIdentifier);
        pubSubTemplate.setMessageConverter(pubSubMessageConverter);
        return new GoogleCloudTicketRegistryQueuePublisher(pubSubTemplate);
    }
This is {@link CasGoogleCloudPubSubTicketRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-gcp-pubsub-ticket-registry/src/main/java/org/apereo/cas/config/CasGoogleCloudPubSubTicketRegistryAutoConfiguration.java