Comments (6)
Closing per @kozlovic above comments that this is addressed in #131 and #158. @AnatoliiPrylutskyi or @markuslindenberg, please comment if you find this is not true and we can re-open.
from nats.go.
Messages are buffered for sometime when disconnected and will be sent on a reconnect. I am looking into the global err vs local handling.
from nats.go.
Great, thanks.
I didn't know about the buffering, love that the client is trying to do the right thing by itself. :)
from nats.go.
Hi Derek!
I bumped on the same error in this line:
https://github.com/nats-io/nats/blob/ef5165913ac88c53c2e2be39f73f8314490ea5dd/enc.go#L82
It was confusing to me debugging this issue in application. I think that removing of global errors from subscribe and publish is a good idea. Encode/Decode error shoudn't affect next message.
I create PR for this fix #131
Thanks
from nats.go.
I agree, on my list. Deep in some changes that are staged in a branch around core functionality for the Go client, but will move to this issue very soon.
from nats.go.
I think that this may have been fixed in #131 and more generally in #158. Can I close this issue?
from nats.go.
Related Issues (20)
- How to retrieve the status of a consumer. HOT 6
- I often get the error `nats: no heartbeat received`
- I often get the error nats: no heartbeat received HOT 19
- Request Reply for JetStream for autoscaling and scaling to zero (similar to Knative) HOT 1
- Panic when creating jet stream consumer on wildcard stream HOT 8
- Add checks for empty response in JetStream API calls HOT 2
- Object store publishes chunks without using domain in subject HOT 4
- add new encoder interface with less allocations HOT 4
- Memory leak in readMIMEHeader HOT 3
- add `FetchContext` FetchOpt
- Add `KeysWithFilter` methods to KV interface HOT 3
- panic: interface conversion: jetstream.Consumer is nil, not *jetstream.pullConsumer HOT 1
- jetstream.PublishMsgAsync panic
- Using Fetch() with and OrderedConsumer and a delivery policy of DeliverLastPerSubjectPolicy returns incorrect results HOT 1
- Publish RetryAttempt and RetryWait not working as expected HOT 8
- Client logs unmarshal errors HOT 9
- Make JS Consumer deletion on Unsubscribe() / Drain() optional HOT 1
- JetStream ConsumerContext `Drain` function not waiting for in flight requests to be done processing HOT 6
- NEW NATS API Drain for durable consumer HOT 14
- Micro does not register service with Nats. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nats.go.