Interface KafkaExporterConfiguration.Builder

  • Method Details

    • clusterArn

      The Amazon Resource Name (ARN) of the Amazon MSK cluster.

      Parameters:
      clusterArn - The Amazon Resource Name (ARN) of the Amazon MSK cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topicFilter

      KafkaExporterConfiguration.Builder topicFilter(String topicFilter)

      An anchored RE2 regular expression that selects the Kafka topics to monitor. The expression must start with ^ and end with $. If omitted, the default is ^.*$, which selects all topics.

      Parameters:
      topicFilter - An anchored RE2 regular expression that selects the Kafka topics to monitor. The expression must start with ^ and end with $. If omitted, the default is ^.*$, which selects all topics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumerGroupFilter

      KafkaExporterConfiguration.Builder consumerGroupFilter(String consumerGroupFilter)

      An anchored RE2 regular expression that selects the Kafka consumer groups to monitor. The expression must start with ^ and end with $. If omitted, the default is ^.*$, which selects all consumer groups.

      Parameters:
      consumerGroupFilter - An anchored RE2 regular expression that selects the Kafka consumer groups to monitor. The expression must start with ^ and end with $. If omitted, the default is ^.*$, which selects all consumer groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.