This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new a89fe9250 [MINOR] docs(core): fix iceberg event listener configuration
(#5003)
a89fe9250 is described below
commit a89fe92506221d2d2f7a90c2c8681befdca074e7
Author: FANNG <[email protected]>
AuthorDate: Tue Sep 24 19:07:16 2024 +0800
[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 4cc1dfe3c..3848b1b4f 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