pl.allegro.tech.hermes.management.config.OwnerConfiguration 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 java.util.List;
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.domain.owner.OwnerSource;
import pl.allegro.tech.hermes.management.domain.owner.OwnerSources;
@Configuration
public class OwnerConfiguration {
@Bean
@ConditionalOnMissingBean
public OwnerSources ownerSources(List ownerSources) {
return new OwnerSources(ownerSources);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy