This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.6 by this push:
new b30aa2b78 [MINOR] docs(core): fix iceberg event listener configuration
(#5007)
b30aa2b78 is described below
commit b30aa2b7892782d6f0a9e54475d0a45b92a947bc
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Sep 24 19:18:27 2024 +0800
[MINOR] docs(core): fix iceberg event listener configuration (#5007)
### 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.
Co-authored-by: FANNG <[email protected]>
---
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 ff45e48a6..a09dcd5ed 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