Will Confd remember subscription after restart?


I have used cdb_mandatory_subscriber to subscribe CDB changes. I want to confirm how to handle the case when confd got restarted.

Should I create a new subscriber or confd will auto recover that?


You need to create a new subscriber, ConfD does not persist that, as written in the confd_lib_cdb document:

CDB keeps a list of mandatory subscribers […] until confd is restarted.