icdevs / ICEventsWG

WG for developing an Event System(pub/sub) on the Internet Computer
3 stars 3 forks source link

Workflow for publishers vs publications - subscribers vs subscription - controllers #51

Open skilesare opened 1 month ago

skilesare commented 1 month ago

We currently do not have a register_publisher/registers_subscriber method? Do we assume that they are using register_publication? What if they don't have all of the configs? Is that ok as long as they are on the approved publisher/subscriber list?

I've added controllers as a concept to publications due to the fact that a service may register the publication for its publishers and want to control the namespace.

Current implementation:

skilesare commented 1 month ago

Controllers should be defined, but should be optional in the standard. Some implementations will not want to use namespace controllers.

skilesare commented 1 month ago

icrc72:subscription:controllers <-registration (Note: add to draft) icrc72:subscription:controllers:add <-Updates icrc72:subscription:controllers:remobe <-