Hi Helix community,

I've been getting familiarized with Helix with the intention of using it in
a project I'm currently working on. We have been doing some
prototyping with it using the Helix Agent to invoke a script that initiates
a GRPC request to the locally running instance of our service. Something I
didn't quite grok was, when the script has completed how is Helix made
aware that the transition was successful or not? I didn't see in the agent
source where the return code from the script was being used other than for
logging purposes. Additionally while looking in the tutorials for the
participant, an example transition handler looks like:

*public void onBecomeOnlineFromOffline(Message message, NotificationContext
context) { }*

So from that signature there is no return value to indicate success/failure
and there wasn't an example of how the handling function would signal back
that a transition was successfully applied or not.

So how would a participant signal back to the cluster that its state
transition was successful/failed?

Thank you for any help you may be able to give me to better understand.
Very excited to use this.

Reply via email to