@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public CasEventRepository casEventRepository(
        @Qualifier("kafkaEventRepositoryFilter")
        final CasEventRepositoryFilter kafkaEventRepositoryFilter,
        @Qualifier("kafkaEventRepositoryTemplate")
        final KafkaOperations<String, CasEvent> kafkaEventRepositoryTemplate,
        final CasConfigurationProperties casProperties) {
        return new KafkaCasEventRepository(kafkaEventRepositoryFilter,
            kafkaEventRepositoryTemplate, casProperties);
    }
This is {@link CasKafkaEventsAutoConfiguration}.

@author Misagh Moayyed
@since 7.3.0
support/cas-server-support-events-kafka/src/main/java/org/apereo/cas/config/CasKafkaEventsAutoConfiguration.java