yaooqinn commented on code in PR #3179:
URL: https://github.com/apache/incubator-kyuubi/pull/3179#discussion_r948829352


##########
docs/extensions/server/events.rst:
##########
@@ -18,5 +18,47 @@ Handle Events with Custom Event Handler
 
 .. caution:: unstable
 
-.. warning::
-   This page is still in-progress.
+Custom Event Handler
+--------------------
+
+Kyuubi supports custom event handler. It is usually used to write Kyuubi 
events to some external systems. For example, Kafka, ElasticSearch, etc.
+
+The steps of injecting custom event handler
+--------------------------------------
+
+1. create a custom class which implements the 
``org.apache.kyuubi.events.handler.CustomEventHandlerProvider``, and add a file 
named org.apache.kyuubi.events.handler.CustomEventHandlerProvider in the 
src/main/resources/META-INF/services folder of project, its content is the 
custom class name.

Review Comment:
   don't we need to reference libraries first?
   
   PS, use non-ordered list.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to