Commit Graph

30 Commits

Author SHA1 Message Date
Derek Collison
b9917b8e17 Changes to default pending and default error handler.
Slow consumer state still seems off, this is a first step trying to improve.
Increased the default number of pending messages limit but kept bytes the same.

Also introduced a default ErrHandler that will print out to stderr in case none has been set.

Signed-off-by: Derek Collison <derek@nats.io>
2020-11-15 11:06:26 -08:00
Derek Collison
6de9666b04 encoded test updates
Signed-off-by: Derek Collison <derek@nats.io>
2019-07-09 08:33:01 -07:00
Derek Collison
234e9d8119 Updates for rename and go.mod support
Signed-off-by: Derek Collison <derek@nats.io>
2019-05-10 13:24:55 -07:00
Derek Collison
2f0e8883ae CNCF, move to Apache 2 2018-03-17 13:36:48 -07:00
Derek Collison
c1c9ec3f56 Rename of repo to go-nats 2016-11-20 11:50:22 -08:00
Ivan Kozlovic
e66adf0068 Fix some encoders issues.
- Return error when Handler has no argument (would cause nil pointer
  panic)
- Schedule async error callbacks when possible
- Add more tests and increase test coverage
2016-01-27 18:37:04 -07:00
Ivan Kozlovic
a4cf1de03c Fix test for parallel run.
Specify different ports for package tests.
2016-01-25 11:57:03 -07:00
anatolii.prylutskyi
5d5979ccad Spelling error 2016-01-20 21:18:11 +02:00
anatolii.prylutskyi
3582223bcb Add comments to tests 2016-01-20 20:53:37 +02:00
anatolii.prylutskyi
e738b000bc Remove minor comments 2016-01-20 15:08:08 +02:00
anatolii.prylutskyi
f9566e6b2e Replace time.Sleep with Flush(), fix spelling error 2016-01-20 10:19:08 +02:00
anatolii.prylutskyi
3d91484709 Fix errors in tests with pointer proto messages 2016-01-19 21:20:20 +02:00
anatolii.prylutskyi
a4d1c18b53 Add failed encoded connection tests 2016-01-19 21:15:25 +02:00
Derek Collison
6ad8596974 Moved encoders into sub-directory, added server spinup 2015-09-13 08:21:46 -07:00
Derek Collison
cde1444a39 Added protobuf encoder, new dir layout 2015-09-13 07:07:07 -07:00
Derek Collison
d643655dfd vet fixups 2014-12-14 21:12:10 -08:00
Derek Collison
c05833473f Additional test coverage 2014-12-14 21:07:55 -08:00
Derek Collison
de0d54db88 Increased test coverage 2014-12-14 21:07:55 -08:00
Derek Collison
0ad40909a5 bump timeout times 2014-11-30 21:01:33 -08:00
Damian Gryski
8000cb5e12 fix bad printf verbs for float types 2013-10-19 20:46:27 +02:00
Austin Vance and Tim Labeeuw
1d0645f9cf Formatted 2013-05-23 10:36:01 -07:00
Brady Catherman
6fcf9fafa4 Expose isClosed to clients. 2013-02-05 13:50:32 -08:00
Mark Veronda
3741a705c4 Fixed type-os and standardized some comments 2012-12-04 16:31:11 -08:00
Derek Collison
c6a8587947 Renamed async callback 2012-10-08 11:06:09 -07:00
Derek Collison
b4cadd8d68 Removed fmt import 2012-10-08 10:33:52 -07:00
Derek Collison
a0abbbe624 First pass async err handler 2012-10-08 10:33:33 -07:00
Derek Collison
b239068e32 Added Raw Msg support to EncodedConn.Request() 2012-10-05 10:30:00 -07:00
Derek Collison
d5c3b60b65 Added Request functionality 2012-10-05 07:39:56 -07:00
Derek Collison
20eba80f2a Extended arg test for Handler 2012-10-03 11:32:21 -07:00
Derek Collison
92af31071c EncodedConn functionality added.
EncodedConn will be the preferred way to interface with the NATS Go client.
It provides a simplified API that uses interface{} to allow for sending
and receiving Go types. It has registered Encoders that can be extended
that are responsible for marshalling data to and from the wire.
2012-10-03 10:47:50 -07:00