This is an automated email from the ASF dual-hosted git repository. wusheng pushed a commit to branch fix in repository https://gitbox.apache.org/repos/asf/skywalking-java.git
commit 0b92eced4dab0a95d621313807e44953db6211e7 Author: Wu Sheng <wu.sh...@foxmail.com> AuthorDate: Mon Jan 22 11:44:05 2024 +0800 Rename system env name from `sw_plugin_kafka_producer_config` to `SW_PLUGIN_KAFKA_PRODUCER_CONFIG` --- 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 5225574210..6ad3f98d6b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,7 @@ Release Notes. * Fix re-transform bug when plugin enhanced class proxy parent method. * Fix error HTTP status codes not recording as SLA failures in Vert.x plugins. * Support for HttpExchange request tracing +* 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 6827c0a912..42d933fe9d 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 718f08dc76..8df23a4aa0 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. [...]