nats-io / nats-architecture-and-design

Architecture and Design Docs
Apache License 2.0
170 stars 20 forks source link

Issues reported in Go JetStream simplification #229

Open aricart opened 10 months ago

aricart commented 10 months ago

Overview

This is actually just a list of issues reported on JetStream simplification on the Go client, most may be Go specific, but take a look if you are doing something similar that may require some fix.

[These were extracted from internal client-dev channel notified by @piotrpio ]

Clients and Tools

Other Tasks

Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.

aricart commented 10 months ago
aricart commented 10 months ago

@Jarema I know that 2.10.x will have the ability to identify whether the intent of the operation is create/update, can you please put a pointer to the PR so we can ADR it

scottf commented 10 months ago

For java/.net

Jarema commented 10 months ago

Here is the PR: https://github.com/nats-io/nats-server/pull/4217

Before 2.10, you would need to do the same as old Go client did: First call info, them create / update or not. After 2.10, you can skip this check, saving a lot of resources on the server side (and have less race'y behaviour)

scottf commented 10 months ago

Here is the PR: nats-io/nats-server#4217

Before 2.10, you would need to do the same as old Go client did: First call info, them create / update or not. After 2.10, you can skip this check, saving a lot of resources on the server side (and have less race'y behaviour)

Is there an work issue created for this functionality?