pl.allegro.tech.hermes.management.config.kafka.KafkaNamesMappers Maven / Gradle / Ivy
package pl.allegro.tech.hermes.management.config.kafka;
import com.google.common.collect.ImmutableMap;
import java.util.Map;
import pl.allegro.tech.hermes.common.kafka.KafkaNamesMapper;
public class KafkaNamesMappers {
private final Map mappers;
public KafkaNamesMappers(Map mappers) {
this.mappers = ImmutableMap.copyOf(mappers);
}
public KafkaNamesMapper getMapper(String clusterName) {
return mappers.get(clusterName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy