Skip to content

Commit 23d9487

Browse files
authored
[client] Disable 'client.metrics.enabled' by default (#738)
1 parent f2de068 commit 23d9487

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

fluss-common/src/main/java/com/alibaba/fluss/config/ConfigOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ public class ConfigOptions {
976976
public static final ConfigOption<Boolean> CLIENT_METRICS_ENABLED =
977977
key("client.metrics.enabled")
978978
.booleanType()
979-
.defaultValue(true)
979+
.defaultValue(false)
980980
.withDescription(
981981
"Enable metrics for client. When metrics is enabled, the client "
982982
+ "will collect metrics and report by the JMX metrics reporter.");

website/docs/engine-flink/options.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ ALTER TABLE log_table SET ('table.log.ttl' = '7d');
152152

153153
## Other Options
154154

155-
| Option | Type | Default | Description |
156-
|-----------------------------------------------------|------------|-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
157-
| bootstrap.servers | List | (None) | A list of host/port pairs to use for establishing the initial connection to the Fluss cluster. The list should be in the form host1:port1,host2:port2,.... Since these servers are just used for the initial connection to discover the full cluster membership (which may change dynamically), this list need not contain the full set of servers (you may want more than one, though, in case a server is down) |
158-
| client.id | String | "" | An id string to pass to the server when making requests. The purpose of this is to be able to track the source of requests beyond just ip/port by allowing a logical application name to be included in server-side request logging. |
159-
| client.connect-timeout | Duration | 120s | The Netty client connect timeout. |
160-
| client.request-timeout | Duration | 30s | The timeout for a request to complete. If user set the write ack to -1, this timeout is the max time that delayed write try to complete. The default setting is 30 seconds. |
161-
| client.filesystem.security.token.renewal.backoff | Duration | 1h | The time period how long to wait before retrying to obtain new security tokens for filesystem after a failure. |
162-
| client.filesystem.security.token.renewal.time-ratio | Double | 0.75 | Ratio of the tokens's expiration time when new credentials for access filesystem should be re-obtained. |
163-
| client.metrics.enabled | Boolean | true | Enable metrics for client. When metrics is enabled, the client will collect metrics and report by the JMX metrics reporter. |
155+
| Option | Type | Default | Description |
156+
|-----------------------------------------------------|------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
157+
| bootstrap.servers | List | (None) | A list of host/port pairs to use for establishing the initial connection to the Fluss cluster. The list should be in the form host1:port1,host2:port2,.... Since these servers are just used for the initial connection to discover the full cluster membership (which may change dynamically), this list need not contain the full set of servers (you may want more than one, though, in case a server is down) |
158+
| client.id | String | "" | An id string to pass to the server when making requests. The purpose of this is to be able to track the source of requests beyond just ip/port by allowing a logical application name to be included in server-side request logging. |
159+
| client.connect-timeout | Duration | 120s | The Netty client connect timeout. |
160+
| client.request-timeout | Duration | 30s | The timeout for a request to complete. If user set the write ack to -1, this timeout is the max time that delayed write try to complete. The default setting is 30 seconds. |
161+
| client.filesystem.security.token.renewal.backoff | Duration | 1h | The time period how long to wait before retrying to obtain new security tokens for filesystem after a failure. |
162+
| client.filesystem.security.token.renewal.time-ratio | Double | 0.75 | Ratio of the tokens's expiration time when new credentials for access filesystem should be re-obtained. |
163+
| client.metrics.enabled | Boolean | false | Enable metrics for client. When metrics is enabled, the client will collect metrics and report by the JMX metrics reporter. |

0 commit comments

Comments
 (0)