From a89fe92506221d2d2f7a90c2c8681befdca074e7 Mon Sep 17 00:00:00 2001 From: FANNG Date: Tue, 24 Sep 2024 19:07:16 +0800 Subject: [PATCH] [MINOR] docs(core): fix iceberg event listener configuration (#5003) ### What changes were proposed in this pull request? correct `gravitino.eventListener.{name}.className` to `gravitino.eventListener.{name}.class` ### Why are the changes needed? the configuration is not correct ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? 1. add the configuration to test a custom event listener. --- docs/gravitino-server-config.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/gravitino-server-config.md b/docs/gravitino-server-config.md index 4cc1dfe3c2b..3848b1b4fcc 100644 --- a/docs/gravitino-server-config.md +++ b/docs/gravitino-server-config.md @@ -105,11 +105,11 @@ Gravitino provides event listener mechanism to allow users to capture the events To leverage the event listener, you must implement the `EventListenerPlugin` interface and place the JAR file in the classpath of the Gravitino server. Then, add configurations to gravitino.conf to enable the event listener. -| Property name | Description | Default value | Required | Since Version | -|--------------------------------------------|--------------------------------------------------------------------------------------------------------|---------------|----------|---------------| -| `gravitino.eventListener.names` | The name of the event listener, For multiple listeners, separate names with a comma, like "audit,sync" | (none) | Yes | 0.5.0 | -| `gravitino.eventListener.{name}.className` | The class name of the event listener, replace `{name}` with the actual listener name. | (none) | Yes | 0.5.0 | -| `gravitino.eventListener.{name}.{key}` | Custom properties that will be passed to the event listener plugin. | (none) | Yes | 0.5.0 | +| Property name | Description | Default value | Required | Since Version | +|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------|----------|---------------| +| `gravitino.eventListener.names` | The name of the event listener, For multiple listeners, separate names with a comma, like "audit,sync" | (none) | Yes | 0.5.0 | +| `gravitino.eventListener.{name}.class` | The class name of the event listener, replace `{name}` with the actual listener name. | (none) | Yes | 0.5.0 | +| `gravitino.eventListener.{name}.{key}` | Custom properties that will be passed to the event listener plugin. | (none) | Yes | 0.5.0 | #### Event