event management as publish-subscriber