Class JmxTransResources


  • public class JmxTransResources
    extends Object
    Encapsulates the naming scheme used for the resources which the Cluster Operator manages for a JmxTrans instance.
    • Method Detail

      • deploymentName

        public static String deploymentName​(String kafkaClusterName)
        Returns the name of the JmxTrans Deployment.
        Parameters:
        kafkaClusterName - The metadata.name of the Kafka resource.
        Returns:
        The name of the corresponding JmxTrans Deployment.
      • serviceAccountName

        public static String serviceAccountName​(String kafkaClusterName)
        Returns the name of the JmxTrans ServiceAccount.
        Parameters:
        kafkaClusterName - The metadata.name of the Kafka resource.
        Returns:
        The name of the corresponding JmxTrans ServiceAccount.