-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Composite and Routing metadata APIs #77
Comments
What would a sample command look like? Something easy to type I guess. |
Sorry, I missed this comment.. I wasn't too sure about the difference between |
@rstoyanchev I like that idea, makes a lot of sense. The order must match then between types and the metadata payloads. So we could also consider some way to combine those? e.g. type:payload? But your suggestion works for me. |
I wonder if @ArgGroup could help to enforce a sequence of I also notice support for maps, which could support
If we choose the latter, which I tend to like because it combines pairs naturally and is much shorter to type, I think it would make sense to avoid supporting both |
No backwards compatibility. Design what makes sense for any firm requirements. The current impl is mostly for debugging. |
Added --route in #91 Some potential cleanup in https://github.com/rsocket/rsocket-cli/pull/92/files |
Now that RSocket Java has
CompositeMetadataFlyweight
andRoutingMetadata
/TaggingMetadataFlyweight
based on the corresponding extensions, it would be useful if the CLI could support sending metadata encoded with those APIs.Not sure how this works out into command line arguments, but for composite it's essentially multiple sets of metadataFormat and metadata pairs. For routing, a collection of tags.
The text was updated successfully, but these errors were encountered: