You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/09/08 07:14:33 UTC

[GitHub] [skywalking-java] wu-sheng commented on a diff in pull request #305: Optimize ConfigInitializer warnning mesaage,fix override and merge de…

wu-sheng commented on code in PR #305:
URL: https://github.com/apache/skywalking-java/pull/305#discussion_r965588165


##########
docs/en/setup/service-agent/java-agent/configurations.md:
##########
@@ -114,5 +114,10 @@ This is the properties list supported in `agent/config/agent.config`.
 | `plugin.micronauthttpclient.collect_http_params`                | This config item controls that whether the Micronaut http client plugin should collect the parameters of the request. Also, activate implicitly in the profiled trace.                                                                                                                                                                                                                                                                                                                                                                                 | SW_PLUGIN_MICRONAUTHTTPCLIENT_COLLECT_HTTP_PARAMS                | `false`                                                                 |
 | `plugin.micronauthttpserver.collect_http_params`                | This config item controls that whether the Micronaut http server plugin should collect the parameters of the request. Also, activate implicitly in the profiled trace.                                                                                                                                                                                                                                                                                                                                                                                 | SW_PLUGIN_MICRONAUTHTTPSERVER_COLLECT_HTTP_PARAMS                | `false`                                                                 |
 
+# How to override default value to blank Collection/Map
+
+* Collection type config such as : `plugin.kafka.topics=a,b,c,d` , In order set the value to blank . just omit the value:` plugin.kafka.topics=` 
+* Map type config such as : `plugin.kafka.producer_config[key]=X` ,In order set the value to blank , just omit the key and value :` plugin.kafka.producer_config[]=`

Review Comment:
   ```suggestion
   # Reset Collection/Map type configurations as empty collection.
   
   * Collection type config, e.g.  using ` plugin.kafka.topics=` 
   to override default `plugin.kafka.topics=a,b,c,d` 
   * Map type config, e.g. using `plugin.kafka.producer_config[]=` to override default `plugin.kafka.producer_config[key]=value`
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org