public class KafkaResources extends Object
Kafka cluster.| Modifier and Type | Method and Description |
|---|---|
static String |
bootstrapServiceName(String clusterName)
Returns the name of the internal bootstrap
Service for a Kafka cluster of the given name. |
static String |
brokersServiceName(String clusterName)
Returns the name of the (headless) brokers
Service for a Kafka cluster of the given name. |
static String |
clientsCaCertificateSecretName(String clusterName)
Returns the name of the Clients CA certificate
Secret for a Kafka cluster of the given name. |
static String |
clientsCaKeySecretName(String clusterName)
Returns the name of the Clients CA key
Secret for a Kafka cluster of the given name. |
static String |
clusterCaCertificateSecretName(String clusterName)
Returns the name of the Cluster CA certificate
Secret for a Kafka cluster of the given name. |
static String |
clusterCaKeySecretName(String clusterName)
Returns the name of the Cluster CA key
Secret for a Kafka cluster of the given name. |
static String |
entityOperatorDeploymentName(String clusterName)
Returns the name of the Entity Operator
Deployment for a Kafka cluster of the given name. |
static String |
entityOperatorSecretName(String clusterName)
Returns the name of the Entity Operator
Secret for a Kafka cluster of the given name. |
static String |
externalBootstrapServiceName(String clusterName)
Returns the name of the external bootstrap
Service for a Kafka cluster of the given name. |
static String |
kafkaMetricsAndLogConfigMapName(String clusterName)
Returns the name of the Kafka metrics and log
ConfigMap for a Kafka cluster of the given name. |
static String |
kafkaPodName(String clusterName,
int podNum)
Returns the name of the Kafka
Pod for a Kafka cluster of the given name. |
static String |
kafkaStatefulSetName(String clusterName)
Returns the name of the Kafka
StatefulSet for a Kafka cluster of the given name. |
static String |
plainBootstrapAddress(String clusterName)
Returns the address (<host>:<port>)
of the internal plain bootstrap
Service for a Kafka cluster of the given name. |
static String |
tlsBootstrapAddress(String clusterName)
Returns the address (<host>:<port>)
of the internal TLS bootstrap
Service for a Kafka cluster of the given name. |
static String |
zookeeperMetricsAndLogConfigMapName(String clusterName)
Returns the name of the Zookeeper metrics and log
ConfigMap for a Kafka cluster of the given name. |
static String |
zookeeperPodName(String clusterName,
int podNum)
Returns the name of the Zookeeper
Pod for a Kafka cluster of the given name. |
static String |
zookeeperStatefulSetName(String clusterName)
Returns the name of the Zookeeper
StatefulSet for a Kafka cluster of the given name. |
public static String zookeeperStatefulSetName(String clusterName)
StatefulSet for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.StatefulSet.public static String zookeeperPodName(String clusterName, int podNum)
Pod for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.podNum - The number of the Zookeeper podPod.public static String kafkaStatefulSetName(String clusterName)
StatefulSet for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.StatefulSet.public static String kafkaPodName(String clusterName, int podNum)
Pod for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.podNum - The number of the Kafka podPod.public static String entityOperatorDeploymentName(String clusterName)
Deployment for a Kafka cluster of the given name.
This Deployment will only exist if Kafka.spec.entityOperator is configured in the
Kafka resource with the given name.clusterName - The metadata.name of the Kafka resource.Deployment.public static String entityOperatorSecretName(String clusterName)
Secret for a Kafka cluster of the given name.
This Secret will only exist if Kafka.spec.entityOperator is configured in the
Kafka resource with the given name.clusterName - The metadata.name of the Kafka resource.Secret.public static String clusterCaCertificateSecretName(String clusterName)
Secret for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.Secret.public static String clusterCaKeySecretName(String clusterName)
Secret for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.Secret.public static String clientsCaCertificateSecretName(String clusterName)
Secret for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.Secret.public static String clientsCaKeySecretName(String clusterName)
Secret for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.Secret.public static String bootstrapServiceName(String clusterName)
Service for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.Service.public static String plainBootstrapAddress(String clusterName)
Service for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.Service.tlsBootstrapAddress(String)public static String tlsBootstrapAddress(String clusterName)
Service for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.Service.plainBootstrapAddress(String)public static String brokersServiceName(String clusterName)
Service for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.Service.public static String externalBootstrapServiceName(String clusterName)
Service for a Kafka cluster of the given name.
This Service will only exist if Kafka.spec.kafka.listeners.external is configured for a
loadbalancer or NodePort in the Kafka resource with the given name.clusterName - The metadata.name of the Kafka resource.Service.public static String kafkaMetricsAndLogConfigMapName(String clusterName)
ConfigMap for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.ConfigMap.public static String zookeeperMetricsAndLogConfigMapName(String clusterName)
ConfigMap for a Kafka cluster of the given name.clusterName - The metadata.name of the Kafka resource.ConfigMap.Copyright © 2019. All rights reserved.