public class KafkaConnectResources extends Object
KafkaConnect cluster.| Modifier and Type | Method and Description |
|---|---|
static String |
deploymentName(String clusterName)
Returns the name of the Kafka Connect
Deployment for a KafkaConnect cluster of the given name. |
static String |
metricsAndLogConfigMapName(String clusterName)
Returns the name of the Kafka Connect metrics and log
ConfigMap for a KafkaConnect cluster of the given name. |
static String |
serviceAccountName(String clusterName)
Returns the name of the Kafka Connect
ServiceAccount for a KafkaConnect cluster of the given name. |
static String |
serviceName(String clusterName)
Returns the name of the HTTP REST
Service for a KafkaConnect cluster of the given name. |
static String |
url(String clusterName,
String namespace,
int port)
Returns the URL of the Kafka Connect REST API for a
KafkaConnect cluster of the given name. |
public static String deploymentName(String clusterName)
Deployment for a KafkaConnect cluster of the given name.clusterName - The metadata.name of the KafkaConnect resource.Deployment.public static String serviceAccountName(String clusterName)
ServiceAccount for a KafkaConnect cluster of the given name.clusterName - The metadata.name of the KafkaConnect resource.ServiceAccount.public static String serviceName(String clusterName)
Service for a KafkaConnect cluster of the given name.clusterName - The metadata.name of the KafkaConnect resource.Service.public static String metricsAndLogConfigMapName(String clusterName)
ConfigMap for a KafkaConnect cluster of the given name.clusterName - The metadata.name of the KafkaConnect resource.ConfigMap.public static String url(String clusterName, String namespace, int port)
KafkaConnect cluster of the given name.clusterName - The metadata.name of the KafkaConnect resource.namespace - The namespace where KafkaConnect cluster is running.port - The port on which the KafkaConnect API is available.KafkaConnect REST API.Copyright © 2020. All rights reserved.