ConfD User Community

Is it possible to define a kicker against an operational data node

Hello,

I’ve seen that a kicker and kicker action can be defined against an configuration data node.

For an operational data node, is it possible to define a kicker that is invoked for a node and have the action invoked if something calls a cdb_set_elem on that path?

Thanks,

You can have a kicker that is triggered by changes in operational data, but you have to use “transactions” when changing the data, i.e. use MAAPI functions with transactions opened towards CONFD_OPERATIONAL.

This is similar to operational CDB subscribers, though subscribers are notified also about changes done using cdb_set_elem provided that the session was opened using CDB_LOCK_REQUEST; I don’t think this works for kickers.