
pl.allegro.tech.hermes.infrastructure.dc.DefaultDatacenterNameProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-common Show documentation
Show all versions of hermes-common Show documentation
Fast and reliable message broker built on top of Kafka.
The newest version!
package pl.allegro.tech.hermes.infrastructure.dc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class DefaultDatacenterNameProvider implements DatacenterNameProvider {
private static final Logger logger = LoggerFactory.getLogger(DefaultDatacenterNameProvider.class);
public static final String DEFAULT_DC_NAME = "dc";
@Override
public String getDatacenterName() {
logger.info("Providing default datacenter name: {}", DEFAULT_DC_NAME);
return DEFAULT_DC_NAME;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy