This is an automated email from the ASF dual-hosted git repository.

bbejeck pushed a commit to branch Merge_AK_to_CCS_10_08_2020
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit 7ee9241a4e53a067106741a592c9b26b329461ca
Author: Brian Bushree <bbush...@confluent.io>
AuthorDate: Fri Aug 7 10:27:41 2020 -0700

    METRICS-1988: add confluent-telemetry directory to kafka classpath (#381)
    
    This patch adds `share/java/confluent-telemetry` to Kafka's classpath as a 
place to install the confluent-metrics jar needed for the telemetry reporter. 
While the telemetry reporter is not installed by default with ccs Kafka, we'd 
like to support it.
---
 bin/kafka-run-class.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/kafka-run-class.sh b/bin/kafka-run-class.sh
index f137991..e2d63f0 100755
--- a/bin/kafka-run-class.sh
+++ b/bin/kafka-run-class.sh
@@ -171,6 +171,9 @@ done
 # CONFLUENT: classpath addition for releases with LSB-style layout
 CLASSPATH="$CLASSPATH":"$base_dir/share/java/kafka/*"
 
+# classpath for telemetry
+CLASSPATH="$CLASSPATH":"$base_dir/share/java/confluent-telemetry/*"
+
 for file in "$base_dir"/core/build/libs/kafka_${SCALA_BINARY_VERSION}*.jar;
 do
   if should_include_file "$file"; then

Reply via email to