You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Similar to the versioned topic proposals in #1108, we should add support for a version specifier in the wasmCloud RPC topics.
Describe the solution you'd like
There are provider and actor RPC topics, and I propose that both of them should include support for a version specifier right after wasmbus.rpc.
For example, instead of an actor component subscribing on wasmbus.rpc.{lattice}.{pubkey}, it should be wasmbus.rpc.{version}.{lattice}.{pubkey}. Just like the control interface topics, the version if not specified is assumed as v1. For simplicity we should go ahead and listen on v1 topics from the implementation of this feature, but support the unversioned topic for backwards compatibility.
Describe alternatives you've considered
We could avoid versioning our RPC topics, as we don't have any planned breaking changes to the protocol right now. However, putting the version here allows us the flexibility in the future (in a post 1.0 world) to add support for a different type of encoding than msgpack, or to add in additional required fields, without completely breaking the RPC protocol.
Additionally we could avoid versioning the topic until we need to, though I feel that is just kicking the can further down the road.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Similar to the versioned topic proposals in #1108, we should add support for a version specifier in the wasmCloud RPC topics.
Describe the solution you'd like
There are provider and actor RPC topics, and I propose that both of them should include support for a version specifier right after
wasmbus.rpc
.For example, instead of an actor component subscribing on
wasmbus.rpc.{lattice}.{pubkey}
, it should bewasmbus.rpc.{version}.{lattice}.{pubkey}
. Just like the control interface topics, the version if not specified is assumed asv1
. For simplicity we should go ahead and listen onv1
topics from the implementation of this feature, but support the unversioned topic for backwards compatibility.Describe alternatives you've considered
We could avoid versioning our RPC topics, as we don't have any planned breaking changes to the protocol right now. However, putting the version here allows us the flexibility in the future (in a post 1.0 world) to add support for a different type of encoding than msgpack, or to add in additional required fields, without completely breaking the RPC protocol.
Additionally we could avoid versioning the topic until we need to, though I feel that is just kicking the can further down the road.
The text was updated successfully, but these errors were encountered: