dapr / components-contrib

Community driven, reusable components for distributed apps
Apache License 2.0
542 stars 469 forks source link

Deprecate NATS Streaming PubSub component #3042

Closed ItalyPaleAle closed 1 year ago

ItalyPaleAle commented 1 year ago

The NATS Streaming PubSub component is currently in beta.

NATS Streaming is officially deprecated. The server does not receive security fixes as of June 2023: https://github.com/nats-io/nats-streaming-server Maintainer instead recommend using NATS JetStream, which Dapr already supports.

Aside from the server being deprecated, the client library we depend on is deprecated as well. This means it does not receive security fixes.

We should deprecate the component in Dapr 1.12, and decide on which version it will be officially removed from.

berndverst commented 1 year ago

Let's add a deprecation warning in 1.12 and remove in 1.14. cc @yaron2 @artursouza

ItalyPaleAle commented 1 year ago

Thoughts on accelerating to 1.13 since it's beta? I would like to not have a dependency in this repo that is archived. 1.14 is probably not coming for another 7-8 months so that's a long time.

artursouza commented 1 year ago

I am fine either way. One release seems reasonable and more than what we promise for non-stable components.