This is an automated email from the ASF dual-hosted git repository.
wankai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git
The following commit(s) were added to refs/heads/main by this push:
new b1c96da0d4 Rename system env name from
`sw_plugin_kafka_producer_config` to `SW_PLUGIN_KAFKA_PRODUCER_CONFIG` (#668)
b1c96da0d4 is described below
commit b1c96da0d4b7192ae6c6cdce61dd1124df84ec96
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Mon Jan 22 13:50:20 2024 +0800
Rename system env name from `sw_plugin_kafka_producer_config` to
`SW_PLUGIN_KAFKA_PRODUCER_CONFIG` (#668)
---
CHANGES.md | 1 +
apm-sniffer/config/agent.config | 2 +-
docs/en/setup/service-agent/java-agent/configurations.md | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/CHANGES.md b/CHANGES.md
index bd249be6e3..276aec1f38 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -13,6 +13,7 @@ Release Notes.
* Support for HttpExchange request tracing.
* Support tracing for async producing, batch sync consuming, and batch async
consuming in rocketMQ-client-java-5.x-plugin.
* Convert the Redisson span into an async span.
+* Rename system env name from `sw_plugin_kafka_producer_config` to
`SW_PLUGIN_KAFKA_PRODUCER_CONFIG`.
#### Documentation
diff --git a/apm-sniffer/config/agent.config b/apm-sniffer/config/agent.config
index 0a18b8873b..65b95a6fbd 100755
--- a/apm-sniffer/config/agent.config
+++ b/apm-sniffer/config/agent.config
@@ -239,7 +239,7 @@
plugin.kafka.bootstrap_servers=${SW_KAFKA_BOOTSTRAP_SERVERS:localhost:9092}
plugin.kafka.get_topic_timeout=${SW_GET_TOPIC_TIMEOUT:10}
# Kafka producer configuration. Read [producer
configure](http://kafka.apache.org/24/documentation.html#producerconfigs)
# to get more details. Check document for more details and examples.
-plugin.kafka.producer_config=${sw_plugin_kafka_producer_config:}
+plugin.kafka.producer_config=${SW_PLUGIN_KAFKA_PRODUCER_CONFIG:}
# Configure Kafka Producer configuration in JSON format. Notice it will be
overridden by plugin.kafka.producer_config[key], if the key duplication.
plugin.kafka.producer_config_json=${SW_PLUGIN_KAFKA_PRODUCER_CONFIG_JSON:}
# Specify which Kafka topic name for Meter System data to report to.
diff --git a/docs/en/setup/service-agent/java-agent/configurations.md
b/docs/en/setup/service-agent/java-agent/configurations.md
index 121c0c3e25..4126407d18 100644
--- a/docs/en/setup/service-agent/java-agent/configurations.md
+++ b/docs/en/setup/service-agent/java-agent/configurations.md
@@ -92,7 +92,7 @@ This is the properties list supported in
`agent/config/agent.config`.
| `plugin.dubbo.provider_arguments_length_threshold` | When
`plugin.dubbo.collect_provider_arguments` is `true`, Arguments of length from
the front will to the OAP backend
[...]
| `plugin.kafka.bootstrap_servers` | A list of
host/port pairs to use for establishing the initial connection to the Kafka
cluster.
[...]
| `plugin.kafka.get_topic_timeout` | Timeout
period of reading topics from the Kafka server, the unit is second.
[...]
-| `plugin.kafka.producer_config` | Kafka
producer configuration. Read [producer
configure](http://kafka.apache.org/24/documentation.html#producerconfigs) to
get more details. Check [Kafka report
doc](advanced-reporters.md#kafka-reporter) for more details and examples.
[...]
+| `plugin.kafka.producer_config` | Kafka
producer configuration. Read [producer
configure](http://kafka.apache.org/24/documentation.html#producerconfigs) to
get more details. Check [Kafka report
doc](advanced-reporters.md#kafka-reporter) for more details and examples.
[...]
| `plugin.kafka.producer_config_json` | Configure
Kafka Producer configuration in JSON format. Notice it will be overridden by
`plugin.kafka.producer_config[key]`, if the key duplication.
[...]
| `plugin.kafka.topic_meter` | Specify
which Kafka topic name for Meter System data to report to.
[...]
| `plugin.kafka.topic_metrics` | Specify
which Kafka topic name for JVM metrics data to report to.
[...]