Replies: 1 comment
-
The encoded connection was my early idea of what a pipeline architecture may look like. We think there are better ways to present these concepts now as demonstrated by some excellent middleware packages (mostly in http frameworks) and will not be furthering development on EncodedConn. For your use case I would recommend some utility functions that are aware of your encoding/decoding semantics. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm working on convert Nats core to Nats jetstream on a go project. I'm using nats.go and as I notice EncodedConn request is used everywhere in transporter files. But EncodedConn doesn't support Jetstream "noticed during debugging".
I had to use Nats native request method with Marshal , Unmarshal manually. And I had to repeat this twice, one for subscription and another for transporter. Is there anyway to make it simplest ? I shared a code snippet to make it clear.
I couldn't be able to use encodedconn cause the return type is different than *nats.Msg and I encountered this error "msgpack: invalid code=7b decoding map length"
Transporter File
Subscribe File
Beta Was this translation helpful? Give feedback.
All reactions