Class KafkaMirrorMakerResources


  • public class KafkaMirrorMakerResources
    extends Object
    Encapsulates the naming scheme used for the resources which the Cluster Operator manages for a KafkaMirrorMaker cluster.
    • Method Detail

      • deploymentName

        public static String deploymentName​(String clusterName)
        Returns the name of the Kafka MirrorMaker Deployment for a KafkaMirrorMaker cluster of the given name.
        Parameters:
        clusterName - The metadata.name of the KafkaMirrorMaker resource.
        Returns:
        The name of the corresponding Kafka MirrorMaker Deployment.
      • serviceAccountName

        public static String serviceAccountName​(String clusterName)
        Returns the name of the Kafka MirrorMaker ServiceAccount for a KafkaMirrorMaker cluster of the given name.
        Parameters:
        clusterName - The metadata.name of the KafkaMirrorMaker resource.
        Returns:
        The name of the corresponding Kafka MirrorMaker ServiceAccount.
      • serviceName

        public static String serviceName​(String clusterName)
        Returns the name of the Prometheus Service for a KafkaMirrorMaker cluster of the given name.
        Parameters:
        clusterName - The metadata.name of the KafkaMirrorMaker resource.
        Returns:
        The name of the corresponding Service.
      • metricsAndLogConfigMapName

        public static String metricsAndLogConfigMapName​(String clusterName)
        Returns the name of the Kafka MirrorMaker metrics and log ConfigMap for a KafkaMirrorMaker cluster of the given name.
        Parameters:
        clusterName - The metadata.name of the KafkaMirrorMaker resource.
        Returns:
        The name of the corresponding Kafka MirrorMaker metrics and log ConfigMap.