Add deprecation warning to NATS Streaming component (#3043)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Co-authored-by: Bernd Verst <github@bernd.dev>
This commit is contained in:
parent
ecf14bc713
commit
d16fd9ac63
|
|
@ -179,6 +179,8 @@ func parseNATSStreamingMetadata(meta pubsub.Metadata) (natsMetadata, error) {
|
|||
}
|
||||
|
||||
func (n *natsStreamingPubSub) Init(_ context.Context, metadata pubsub.Metadata) error {
|
||||
n.logger.Warn("⚠️ The NATS Streaming PubSub component is deprecated due to the deprecation of NATS Server, and will be removed from Dapr 1.13")
|
||||
|
||||
m, err := parseNATSStreamingMetadata(metadata)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Reference in New Issue