6harat commented on code in PR #3546:
URL: https://github.com/apache/storm/pull/3546#discussion_r1271728650


##########
docs/flux.md:
##########
@@ -765,6 +770,16 @@ The `override` property controls how includes affect the 
values defined in the c
 
 **N.B.:** Includes are not yet recursive. Includes from included files will be 
ignored.
 
+## Worker Hooks
+Flux allows you to attach topology component that can be executed when a 
worker starts, and when a worker shuts down. It can be useful when you want to 
execute operations before topology processing starts, or cleanup operations 
before your workers shut down, e.g. managing application context. Worker Hooks 
should be an implementation of 
[IWorkerHook]({{page.git-blob-base}}/storm-client/src/jvm/org/apache/storm/hooks/IWorkerHook.java).
 Other than that, they follow similar Bean definition semantics as 
[Components](##Components) for declaration within yaml file.

Review Comment:
   rectified the typo in the docs



-- 
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: dev-unsubscr...@storm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to