You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+7-2
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,7 @@ Producer
73
73
*`BLOCKING_PRODUCER` - if it's set, the producer will block another message until ack will be received
74
74
*`MESSAGES_PER_TRANSACTION` - how many messages will be part of one transaction. Transaction config could be set via `ADDITIONAL_CONFIG` variable. Default is 10.
75
75
*`ADDITIONAL_CONFIG` - additional configuration for a producer application. Notice, that you can also override any previously set variable by setting this. The form is `key=value` records separated by new line character
76
+
*`TRACING_SYSTEM` - if it's set to `jaeger` or `opentelemetry`, this will enable tracing.
76
77
77
78
Consumer
78
79
*`BOOTSTRAP_SERVERS` - comma-separated host and port pairs that is a list of Kafka broker addresses. The form of pair is `host:port`, e.g. `my-cluster-kafka-bootstrap:9092`
@@ -84,6 +85,7 @@ Consumer
84
85
*`USER_KEY` - the user's private key
85
86
*`LOG_LEVEL` - logging level
86
87
*`ADDITIONAL_CONFIG` - additional configuration for a consumer application. Notice, that you can also override any previously set variable by setting this. The form is `key=value` records separated by new line character
88
+
*`TRACING_SYSTEM` - if it's set to `jaeger` or `opentelemetry`, this will enable tracing.
87
89
88
90
Streams
89
91
*`BOOTSTRAP_SERVERS` - comma-separated host and port pairs that is a list of Kafka broker addresses. The form of pair is `host:port`, e.g. `my-cluster-kafka-bootstrap:9092`
@@ -96,10 +98,13 @@ Streams
96
98
*`USER_KEY` - the user's private key
97
99
*`LOG_LEVEL` - logging level
98
100
*`ADDITIONAL_CONFIG` - additional configuration for a streams application. Notice, that you can also override any previously set variable by setting this. The form is `key=value` records separated by new line character.
101
+
*`TRACING_SYSTEM` - if it's set to `jaeger` or `opentelemetry`, this will enable tracing.
99
102
100
103
### Tracing
101
104
102
-
The examples support tracing using the [OpenTracing Apache Kafka Instrumentation](https://github.com/opentracing-contrib/java-kafka-client) and the [Jaeger project](https://www.jaegertracing.io/).
105
+
The examples support tracing using the [OpenTracing Apache Kafka Instrumentation](https://github.com/opentracing-contrib/java-kafka-client),
106
+
[OpenTelemetry Java Instrumentation](https://github.com/open-telemetry/opentelemetry-java-instrumentation) and the [Jaeger project](https://www.jaegertracing.io/).
103
107
To enable tracing, configure the Jaeger Tracer using [environment variables](https://github.com/jaegertracing/jaeger-client-java/tree/master/jaeger-core#configuration-via-environment).
104
108
105
-
You can also use the provided example in [`deployment-tracing.yaml`](./java/kafka/deployment-tracing.yaml).
109
+
To run Jaeger Tracing, you can also use the provided example in [`deployment-tracing-jaeger.yaml`](./java/kafka/deployment-tracing-jaeger.yaml).
110
+
To run Opentelemetry Tracing, you can also use the provided example in [`deployment-tracing-opentelemetry.yaml`](./java/kafka/deployment-tracing-opentelemetry.yaml).
0 commit comments