snuyanzin commented on code in PR #1870:
URL: https://github.com/apache/fluss/pull/1870#discussion_r2469847633
##########
website/docs/maintenance/operations/alter-config.md:
##########
@@ -0,0 +1,42 @@
+---
+title: Alter Configuration
+sidebar_position: 4
+---
+# Alter Configuration
+## Overview
+
+Fluss provides ways to alter the configuration of a cluster or a table. You
can change and apply the configuration without restarting Fluss server. In this
section, we will show how to alter the configuration of a cluster or a table.
+
+## Alter Cluster Configuration
+
+Currently, you can only alter the configuration of a cluster with [Java
client](apis/java-client.md).
+
+Currently, only `datalake.format` and options with prefix
`datalake.${datalake.format}` can be altered. These options will also be served
as table options when getting the table info.
+
+The AlterConfig class contains three key properties:
+* key: The configuration key to be modified (e.g., `datalake.format`)
+* value: The configuration value to be set (e.g., "paimon")
+* opType: The operation type, either AlterConfigOpType.SET or
AlterConfigOpType.DELETE
+
+To disable a cluster, you can use the following code:
+```java
+admin.alterClusterConfigs(
+ Collections.singletonList(
+ new AlterConfig(DATALAKE_FORMAT.key(), "paimon",
AlterConfigOpType.SET)));
+```
+
+To disable a cluster, you can use the following code:
+```java
+admin.alterClusterConfigs(
+ Collections.singletonList(
+ new AlterConfig(DATALAKE_FORMAT.key(), "paimon",
AlterConfigOpType.DELETE)));
+```
+
+Currently, only `datalake.format` and option with prefix
`datalake.${datalake.format}` can be altered. And this options will also be
served as table options when getting the table info.
+
+## Alter Table Configuration
+
+Storage Options can be altered by [Alter
Table](engine-flink/ddl.md#alter-table). The limitations are as follows:
+1. `bootstrap.servers`,`bucket.num` and `bucket.key` cannot be altered.
Review Comment:
```suggestion
1. `bootstrap.servers`, `bucket.num` and `bucket.key` cannot be altered.
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]