forked from strimzi/strimzi-kafka-oauth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the use of
metric.reporters
in OAuth metrics, use `strimzi.m…
…etric.reporters` instead (strimzi#193) * Remove the use of `metric.reporters` in OAuth metrics, use `strimzi.metric.reporters` instead. JmxReporter has to be listed explicitly to be instantiated. Signed-off-by: Marko Strukelj <[email protected]> * Fix Matcher.match() to Mather.find(() Signed-off-by: Marko Strukelj <[email protected]> * Use `strimzi.oauth.metric.reporters` as a config option name Signed-off-by: Marko Strukelj <[email protected]> * Fix unused reporters ArrayList. Signed-off-by: Marko Strukelj <[email protected]> * Addressed PR comments, implemented using JmxReporter by default Signed-off-by: Marko Strukelj <[email protected]> * Shorten the Travis CI build by removing kafka-3.2.3 testsuite run from it. Address README comments. Signed-off-by: Marko Strukelj <[email protected]> --------- Signed-off-by: Marko Strukelj <[email protected]>
- Loading branch information
Showing
22 changed files
with
491 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
oauth-common/src/main/java/io/strimzi/kafka/oauth/metrics/GlobalConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright 2017-2023, Strimzi authors. | ||
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). | ||
*/ | ||
package io.strimzi.kafka.oauth.metrics; | ||
|
||
import io.strimzi.kafka.oauth.common.Config; | ||
|
||
/** | ||
* Configuration that can be specified as ENV vars, System properties or in <code>server.properties</code> configuration file, | ||
* but not as part of the JAAS configuration. | ||
*/ | ||
public class GlobalConfig extends Config { | ||
|
||
/** The name of the 'strimzi.oauth.metric.reporters' config option */ | ||
public static final String STRIMZI_OAUTH_METRIC_REPORTERS = "strimzi.oauth.metric.reporters"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.