Class KafkaMirrorMakerResources
java.lang.Object
io.strimzi.api.kafka.model.mirrormaker.KafkaMirrorMakerResources
Encapsulates the naming scheme used for the resources which the Cluster Operator manages for a
KafkaMirrorMaker cluster.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcomponentName(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 Details
-
componentName
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
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
Returns the name of the PrometheusServicefor aKafkaMirrorMakercluster of the given name.- Parameters:
clusterName- Themetadata.nameof theKafkaMirrorMakerresource.- Returns:
- The name of the corresponding
Service.
-
metricsAndLogConfigMapName
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.
-