configure listener in zk spring boot

asked 2020-10-27 15:37:13 +0800

RomanZK gravatar image RomanZK
1 1

I intend to write a few classes that implements some of zk interfaces e.g. ExecutionMonitor, ExecutionInit e.t.c From the zk documentation after writing the classes I am expected to configure as follows

<listener> <listener-class>aclassname</listener-class> </listener>

I am using zk spring boot starter as result there is no web.xml. How can I do this in zk spring boot ?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2020-10-28 09:22:39 +0800

cor3000 gravatar image cor3000
5868 2 7
ZK Team

ZK Listeners are defined in zk.xml which is available in spring boot.

ZKConfigurationReference / zk.xml / ThelistenerElement

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2020-10-27 15:37:13 +0800

Seen: 7 times

Last updated: Oct 28 '20

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More