eclipse-zenoh / zenoh

zenoh unifies data in motion, data in-use, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.
https://zenoh.io
Other
1.43k stars 151 forks source link

feat: unify pub/sub and query/reply modules #1193

Closed wyfo closed 3 months ago

wyfo commented 3 months ago

@Mallets @kydos @milyin

wyfo commented 3 months ago

I've let the core module as is for now. Maybe we should create a qos module to put QOS related things (Priority and CongestionControl for now, but maybe more later), as they are common to pub/sub and query/reply.

wyfo commented 3 months ago

About Encoding, I'm hesitating to put it in core with Priority and CongestionControl, but it may also be put in bytes module, as this is closely related. I think I prefer this solution now.

Mallets commented 3 months ago

@wyfo it would be great if this PR comes with a battery of sister PRs to update all bindings/plugins/backends with the new module organization.

wyfo commented 3 months ago

This is incredibly long to patch all backend/plugins, so I've written a Python script to modify the imports automatically 😅

wyfo commented 3 months ago

@Mallets All the sister PRs have been opened.