cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1101
Views
2
Helpful
3
Replies

What are the key difference between subscriber and kicker, when to use subscriber and kicker, it's proc and cons in IO bound transactions

kiran kotari
Cisco Employee
Cisco Employee

didn't find any document about key difference between subscriber and kicker

when to use what and Why kicker came in, any proc and cons.

What to use in IO bound transactions ?

1 Accepted Solution

Accepted Solutions

The most common use case for kickers is Reactive FastMap (waiting for VM, waiting for IP etc) and then to invoke reactive-re-deploy on the service.

View solution in original post

3 Replies 3

frjansso
Cisco Employee
Cisco Employee

A kicker you define in configuration and it invokes an action you provide.

Subscribers are written in code, typically Java or Python, and are much more granular. You can be very detailed in how you traverse the changes.

If you're only interested in that something changed, I'd recommend kickers because of their simplicity.

I think for Kickers we need to write actions for the required change. It's coding right. How they are different ?

In subscriber I need to write couple of more line to do the same job.

I am looking for which situation I need to use kicker and subscriber. Any specific reason why we need to use them.  

The most common use case for kickers is Reactive FastMap (waiting for VM, waiting for IP etc) and then to invoke reactive-re-deploy on the service.