Package io.strimzi.api.kafka.model
Class KafkaMirrorMakerResources
- java.lang.Object
-
- io.strimzi.api.kafka.model.KafkaMirrorMakerResources
-
public class KafkaMirrorMakerResources extends Object
Encapsulates the naming scheme used for the resources which the Cluster Operator manages for aKafkaMirrorMakercluster.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringdeploymentName(String clusterName)Returns the name of the Kafka MirrorMakerDeploymentfor aKafkaMirrorMakercluster of the given name.static StringmetricsAndLogConfigMapName(String clusterName)Returns the name of the Kafka MirrorMaker metrics and logConfigMapfor aKafkaMirrorMakercluster of the given name.static StringserviceAccountName(String clusterName)Returns the name of the Kafka MirrorMakerServiceAccountfor aKafkaMirrorMakercluster of the given name.static StringserviceName(String clusterName)Returns the name of the PrometheusServicefor aKafkaMirrorMakercluster of the given name.
-
-
-
Method Detail
-
deploymentName
public static String deploymentName(String clusterName)
Returns the name of the Kafka MirrorMakerDeploymentfor aKafkaMirrorMakercluster of the given name.- Parameters:
clusterName- Themetadata.nameof theKafkaMirrorMakerresource.- Returns:
- The name of the corresponding Kafka MirrorMaker
Deployment.
-
serviceAccountName
public static String serviceAccountName(String clusterName)
Returns the name of the Kafka MirrorMakerServiceAccountfor aKafkaMirrorMakercluster of the given name.- Parameters:
clusterName- Themetadata.nameof theKafkaMirrorMakerresource.- Returns:
- The name of the corresponding Kafka MirrorMaker
ServiceAccount.
-
serviceName
public static String serviceName(String clusterName)
Returns the name of the PrometheusServicefor aKafkaMirrorMakercluster of the given name.- Parameters:
clusterName- Themetadata.nameof theKafkaMirrorMakerresource.- Returns:
- The name of the corresponding
Service.
-
metricsAndLogConfigMapName
public static String metricsAndLogConfigMapName(String clusterName)
Returns the name of the Kafka MirrorMaker metrics and logConfigMapfor aKafkaMirrorMakercluster of the given name.- Parameters:
clusterName- Themetadata.nameof theKafkaMirrorMakerresource.- Returns:
- The name of the corresponding Kafka MirrorMaker metrics and log
ConfigMap.
-
-