ConfD User Community

Operational data subscriton priority doesn't works

I cannot handle priority on Operational data (except -1).
How can i avoid this issue and call my Operational node first?
Is there another way to handle this issue ?

Are you trying to use cdb_subscribe()? For operational data, you should use cdb_oper_subscribe(). You’ll notice that priority is missing from the input parameters, and as the explanation text says for this API “Priorities are not used for these notifications”. Also take a look at the “Note” for this API, if you want to mix subscriptions to operational data and configuration data on the same subscription socket.