Piotr Piotrowski
c97f022375
[FIXED] Async publish error handling on disconnect ( #1592 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2024-04-02 22:34:03 +02:00
Piotr Piotrowski
42076581a5
[FIXED] Race condition in Fetch and FetchBatch when using heartbeats ( #1601 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2024-04-02 17:24:17 +02:00
Piotr Piotrowski
6dfefd9d7b
[IMPROVED] Fetch and FetchBatch for draining and closed subscriptions ( #1582 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2024-03-18 14:19:54 +01:00
Piotr Piotrowski
d6a64d3e39
[IMPROVED] Add legacy api warnings on old JetStream API ( #1553 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2024-02-09 11:44:08 +01:00
Sasha Melentyev
98430acd80
[IMPROVED] Use errors.Is for err handling, and use skipped bool ( #1500 )
...
Signed-off-by: Sasha Melentyev <sasha@m8.ru >
2024-01-11 16:36:58 +01:00
Piotr Piotrowski
245bd2bf5f
[FIXED] Handle several ignored errors ( #1496 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-12-15 14:00:12 +01:00
Tomasz Pietrek
bb64e1b6e3
Fix async pub paf id for old js API
...
Signed-off-by: Tomasz Pietrek <tomasz@nats.io >
2023-11-28 15:41:51 +01:00
Piotr Piotrowski
efb3ab699e
[IMPROVED] Remove ordered consumer on reset and fix recreated consumer name ( #1449 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-10-27 10:51:03 +02:00
Piotr Piotrowski
ff131adbb1
[FIXED] Panic on ConsumerInfo when empty reponse and errors are returned ( #1426 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-10-03 20:05:18 +02:00
Piotr Piotrowski
895e54285c
[FIXED] Fix pull heartbeat validation
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-09-25 15:18:15 +02:00
Piotr Piotrowski
8ce44e0ce9
[ADDED] Missing fields on StreamConfig for 2.10.0 release ( #1405 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-09-20 08:21:33 +02:00
Piotr Piotrowski
859b5495d7
[ADDED] Stream and consumer metadata ( #1384 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-09-20 08:21:33 +02:00
Piotr Piotrowski
8ca661bdb1
[ADDED] Support for multiple subject filters on consumers ( #1214 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-09-20 08:19:54 +02:00
Piotr Piotrowski
79f092a2c0
[ADDED] Setting heartbeats in Fetch and FetchBatch in legacy API ( #1402 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-09-16 08:36:06 +02:00
Piotr Piotrowski
3acdc379d4
[FIXED] Sending publish async completion signal after reconnect ( #1391 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-09-12 16:24:09 +02:00
Paolo TETI
6b9c74529b
[FIXED] typos in comments and error messages
...
Fixes typos in comments and error message found using codespell.
2023-08-28 21:37:35 +02:00
Piotr Piotrowski
3af379dccf
[ADDED] KV implementation in new JetStream API ( #1362 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-08-25 12:36:54 +02:00
Piotr Piotrowski
b3f214900f
[FIXED] Resetting ordered consumer after context timeout ( #1360 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-08-04 14:39:59 +02:00
Ante Gulin
f95d02a8a0
[IMPROVED] Fix typo in doc comment for SkipConsumerLookup ( #1355 )
2023-07-31 12:04:59 +02:00
Piotr Piotrowski
3818089dbb
[FIXED] PublishAsyncMaxPending not reset after server disconnect ( #1346 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-07-19 11:51:42 +02:00
Byron Ruth
fd05bbb000
[FIXED] Unset start time for ordered consumer on retry ( #1341 )
...
If an ordered consumer was configured with a start time, on
retry, the copied consumer config would start with sequence
but the existing start time opt would conflict causing
a config error.
Fix #1281
Signed-off-by: Byron Ruth <byron@nats.io >
2023-07-07 13:46:08 +02:00
Piotr Piotrowski
76b92fb24f
[IMPROVED] Replace empty interface with any ( #1332 )
2023-06-27 12:40:21 +02:00
Piotr Piotrowski
1bb385f044
Revert "[IMPROVED] Replace empty interface with any" ( #1330 )
...
This reverts commit af3706ecfd
.
2023-06-22 10:52:40 +02:00
Piotr Piotrowski
61b0ce9bd4
[IMPROVED] Replace empty interface with any ( #1315 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-06-14 20:19:55 +02:00
Piotr Piotrowski
d2c31e4f78
[FIXED] Cleanup reply sub after putting object ( #1282 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-06-06 23:29:45 +02:00
Piotr Piotrowski
2396e9d12c
Merge branch 'main' of https://github.com/nats-io/nats.go into jsv2
2023-05-23 12:04:18 +02:00
Piotr Piotrowski
b31e5f64c5
Merge branch 'main' of https://github.com/nats-io/nats.go into jsv2
...
Improve readme
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
Fix msg size calculation
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
Add connection event listeners
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
Fix leaky goroutines in tests
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-05-23 12:04:01 +02:00
Piotr Piotrowski
ac403323c4
Iterator for pull consumer, refine API and fix bugs
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-05-23 11:56:55 +02:00
Piotr Piotrowski
c8b7b4bfa3
Move parse.go to internal directory
2023-05-23 11:56:26 +02:00
Piotr Piotrowski
8faa842dda
[ADDED] SkipConsumerLookup option in js.Subscribe() ( #1265 )
...
Signed-off-by: Waldemar Quevedo <wally@nats.io >
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
Co-authored-by: Waldemar Quevedo <wally@nats.io >
2023-05-16 17:48:50 +02:00
Waldemar Quevedo
1537c0b544
Fix staticcheck, use single function for getHash
...
Signed-off-by: Waldemar Quevedo <wally@nats.io >
2023-05-11 17:41:35 -07:00
Waldemar Quevedo
34464fbd4b
js: add ConsumerName option
...
Signed-off-by: Waldemar Quevedo <wally@nats.io >
2023-05-11 17:30:15 -07:00
Waldemar Quevedo
19782c0578
js: use similar ephemeral consumer names as server
...
Signed-off-by: Waldemar Quevedo <wally@nats.io >
2023-05-11 17:03:24 -07:00
Piotr Piotrowski
d313991b62
[CHANGED] Generate consumer name in Subscribe() when name is not provided ( #1261 )
...
Signed-off-by: Piotr Piotrowski <piotr@synadia.com >
2023-05-11 16:56:10 +02:00
Piotr Piotrowski
334dddcbee
Add tests for parse.go
2023-04-25 12:11:20 +02:00
Piotr Piotrowski
261cfc5129
Revert Fetch() behavior to not verify request ID ( #1238 )
2023-03-24 16:43:07 +01:00
Piotr Piotrowski
f3d29054e3
[CHANGED] Use different subjects per PR when using Fetch and FetchBatch ( #1237 )
2023-03-24 09:53:57 +01:00
Justin Vallelonga
aaa352ceaf
Update js.go
...
typo
2023-03-08 20:04:12 -07:00
Piotr Piotrowski
e059b4d17c
[FIXED] Retry recreating ordered consumer on insufficient resources error ( #1217 )
2023-02-23 15:25:42 +01:00
Piotr Piotrowski
edb105cbe9
[ADDED] FetchBatch method to utilize non-blocking pull subscription requests ( #1211 )
...
Co-authored-by: Waldemar Quevedo <wally@nats.io >
2023-02-15 15:18:50 +01:00
Guillaume Delbergue
5677b935a7
js: use custom inbox prefix in async reply ( #1190 )
...
* js: use custom inbox prefix in async reply
Signed-off-by: Guillaume Delbergue <guillaume.delbergue@hiventive.com >
Co-authored-by: Waldemar Quevedo <wally@nats.io >
2023-01-17 08:03:40 -08:00
Piotr Piotrowski
32b9daa3d2
[ADDED] Service api improvements ( #1160 )
...
Co-authored-by: Tomasz Pietrek <melgaer@gmail.com >
2022-12-20 12:52:16 +01:00
Sam Tavakoli
a52a9ec753
Provide a way to handle 409 Leadership Changed errors in client
...
Without this change, it makes it hard for clients to handle consumer
errors relating to leadership changes differently from any other
error.
Follows same approach as ErrConsumerDeleted.
2022-12-02 13:15:52 +00:00
Piotr Piotrowski
4d7d95166a
[ADDED] Extract ErrConsumerDeleted in Fetch() ( #1125 )
...
* Extract ErrConsumerDeleted in Fetch()
* Update test/js_test.go
Co-authored-by: Waldemar Quevedo <wally@synadia.com >
Co-authored-by: Waldemar Quevedo <wally@synadia.com >
2022-11-08 16:21:36 +01:00
Tomasz Pietrek
7ac1087d8c
[CHANGED] Make lookupStreamBySubject public ( #1114 )
2022-10-31 16:30:55 +01:00
Derek Collison
1d9796fd33
Added support for KV mirrors and sources and updated state for proper Put() and Get() with mirrors and across domains, e.g. leafnodes.
...
Signed-off-by: Derek Collison <derek@nats.io >
2022-10-19 16:01:39 -07:00
Neil Alexander
0689e7a34c
Review comments
2022-10-15 12:05:25 +01:00
Neil Alexander
d5eb48b4e6
Update InactiveThreshold
comments
...
These hadn't been updated after nats-io/nats-server#3190 seemingly.
2022-10-14 10:00:06 +01:00
Sylvain Rabot
2b03e25fca
Improve durable consumer unsubscribe comment ( #1100 )
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2022-10-06 17:54:23 +02:00
Piotr Piotrowski
1ee76eacf9
[CHANGED] Ordered consumer recreate on missing heartbeat ( #1097 )
2022-10-04 11:15:19 +02:00