
pl.allegro.tech.hermes.management.config.LogRepositoryConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-management Show documentation
Show all versions of hermes-management Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.management.config;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import pl.allegro.tech.hermes.management.infrastructure.tracker.NoOperationLogRepository;
import pl.allegro.tech.hermes.tracker.management.LogRepository;
@Configuration
public class LogRepositoryConfiguration {
@Bean
@ConditionalOnMissingBean(LogRepository.class)
public LogRepository logRepository() {
return new NoOperationLogRepository();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy