@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "influxDbEventsConnectionFactory")
    public InfluxDbConnectionFactory influxDbEventsConnectionFactory(final CasConfigurationProperties casProperties) {
        return new InfluxDbConnectionFactory(casProperties.getEvents().getInfluxDb());
    }
This is {@link CasEventsInfluxDbRepositoryAutoConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-events-influxdb/src/main/java/org/apereo/cas/config/CasEventsInfluxDbRepositoryAutoConfiguration.java