moleculer-go / moleculer

🚀 Progressive microservices framework for Go - based and compatible with https://github.com/moleculerjs/moleculer
MIT License
144 stars 27 forks source link

does it support namespace ? #67

Closed roytan883 closed 4 years ago

roytan883 commented 5 years ago

Is your feature request related to a problem? Please describe. does it support namespace ?

slaterx commented 5 years ago

Not at this point. Could you please describe your use case for it?

roytan883 commented 5 years ago

it is standard in moleculer protocol. group many different service to few namespace.

pentateu commented 5 years ago

Namespaces is not implemented yet. If you need it we can consider adding to the current scope (beta release). Let us know more of your use case and feedback on moleculer go.

roytan883 commented 5 years ago

Its about node info sync and separate high level services. If all service nodes running on the same namespace, the moleculer HEARTBEAT and node information are mixed and net traffic heavy.

Consider V1 services has 30 nodes, and V2 services has 10 nodes. Most of V2 nodes no need call V1 nodes, then it should not communicate V1 nodes. Only the V1-V2-bridge node need have both two namespace.

yacineb commented 4 years ago

We absolutely need this !

pentateu commented 4 years ago

@yacineb @roytan883 use version v0.2.4 or above for namespace support.