public class KafkaBridgeResources extends Object
KafkaBridge cluster.| Modifier and Type | Method and Description |
|---|---|
static String |
deploymentName(String clusterName)
Returns the name of the Kafka Bridge
Deployment for a KafkaBridge cluster of the given name. |
static String |
metricsAndLogConfigMapName(String clusterName)
Returns the name of the Kafka Bridge metrics and log
ConfigMap for a KafkaBrdige cluster of the given name. |
static String |
serviceAccountName(String clusterName)
Returns the name of the Kafka Bridge
ServiceAccount for a KafkaBridge cluster of the given name. |
static String |
serviceName(String clusterName)
Returns the name of the HTTP REST
Service for a KafkaBridge cluster of the given name. |
static String |
url(String clusterName,
String namespace,
int port)
Returns the URL of the Kafka Bridge for a
KafkaBridge cluster of the given name. |
public static String deploymentName(String clusterName)
Deployment for a KafkaBridge cluster of the given name.
This Deployment will only exist if KafkaBridge is deployed by Cluster Operator..clusterName - The metadata.name of the KafkaBridge resource.Deployment.public static String serviceName(String clusterName)
Service for a KafkaBridge cluster of the given name.clusterName - The metadata.name of the KafkaBridge resource.Service.public static String metricsAndLogConfigMapName(String clusterName)
ConfigMap for a KafkaBrdige cluster of the given name.clusterName - The metadata.name of the KafkaBrdige resource.ConfigMap.public static String serviceAccountName(String clusterName)
ServiceAccount for a KafkaBridge cluster of the given name.clusterName - The metadata.name of the KafkaBridge resource.ServiceAccount.public static String url(String clusterName, String namespace, int port)
KafkaBridge cluster of the given name.clusterName - The metadata.name of the KafkaBridge resource.namespace - The namespace where the KafkaBridge cluster is running.port - The port on which the KafkaBridge is available.KafkaBridge.Copyright © 2020. All rights reserved.