-
Notifications
You must be signed in to change notification settings - Fork 21
Simple Spring Queries #92
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
Conversation
@@ -152,9 +152,14 @@ class Main : Runnable { | |||
inputPublisher = LineInputPublishers(outputHandler) | |||
} | |||
|
|||
if (route != null) { | |||
metadataFormat = "composite" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@linux-china What are firm assumptions we can make when route is selected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a nice to make Spring route simple. A question, I know some developers use cbor for data en/decoding with RSocket. Could you comment dataFormat assign(json by default now) when route is not null, and we can use route and cbor both. thanks.
if (route != null) {
metadataFormat = "composite"
// dataFormat = "json
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I remove binary as the default? Or check for it and then override to json?
I'd like to get it down to the minimal set of command line arguments to activate this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for binary, could we consider base64 text for cbor and other binary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
binary as base64 text just for reference to implement CLI. we can consider this feature later. Now json is good for CLI to Spring RSocket, and Spring RSocketStrategies supports to config multi encoders.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I'm only setting when unset. Take a look.
example command line