{"action":"created","issue":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/253","labels_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/253/comments","events_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/253/events","html_url":"https://github.com/ElektraInitiative/libelektra/issues/253","id":102526380,"number":253,"title":"notification: meaning and status?","user":{"login":"mhaberler","id":901479,"avatar_url":"https://avatars.githubusercontent.com/u/901479?v=3","gravatar_id":"","url":"https://api.github.com/users/mhaberler","html_url":"https://github.com/mhaberler","followers_url":"https://api.github.com/users/mhaberler/followers","following_url":"https://api.github.com/users/mhaberler/following{/other_user}","gists_url":"https://api.github.com/users/mhaberler/gists{/gist_id}","starred_url":"https://api.github.com/users/mhaberler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhaberler/subscriptions","organizations_url":"https://api.github.com/users/mhaberler/orgs","repos_url":"https://api.github.com/users/mhaberler/repos","events_url":"https://api.github.com/users/mhaberler/events{/privacy}","received_events_url":"https://api.github.com/users/mhaberler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-22T11:37:14Z","updated_at":"2015-08-22T12:19:43Z","closed_at":null,"body":"there seems to be some confusion over what 'notification' actually means\r\n\r\nsrc/plugins/README.md says:\r\n\r\nSend out all changes to configuration to:\r\n\r\n- [dbus](dbus)\r\n- [journald](journald)\r\n- [syslog](syslog)\r\n\r\nThat is logging in my understanding.\r\n\r\nWhat I consider notification, and would need:  using code which retrieves a key with kdbGet() can optionally have a callback/event notification that the value of a particular key has changed because some other thread/process did a kdbSet() on that key, giving using code the option to retrieve the updated value.\r\n\r\nIs that possible?"},"comment":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/comments/133685026","html_url":"https://github.com/ElektraInitiative/libelektra/issues/253#issuecomment-133685026","issue_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/253","id":133685026,"user":{"login":"mhaberler","id":901479,"avatar_url":"https://avatars.githubusercontent.com/u/901479?v=3","gravatar_id":"","url":"https://api.github.com/users/mhaberler","html_url":"https://github.com/mhaberler","followers_url":"https://api.github.com/users/mhaberler/followers","following_url":"https://api.github.com/users/mhaberler/following{/other_user}","gists_url":"https://api.github.com/users/mhaberler/gists{/gist_id}","starred_url":"https://api.github.com/users/mhaberler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhaberler/subscriptions","organizations_url":"https://api.github.com/users/mhaberler/orgs","repos_url":"https://api.github.com/users/mhaberler/repos","events_url":"https://api.github.com/users/mhaberler/events{/privacy}","received_events_url":"https://api.github.com/users/mhaberler/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T12:19:43Z","updated_at":"2015-08-22T12:19:43Z","body":"We will not ever touch dbus in any shape or form for purposes of interprocess communication; if to be usable for us, it must work without dbus\r\n\r\nfor change notification, is it required to use C++? so far I assumed core features require C only\r\n\r\ncan you refer me to an an actual usage example? - like fetch key, subscribe to change notifications, get updated value?\r\n\r\n"}}