Questions tagged [nats-streaming-server]

NATS Streaming Server is a persistent messaging system running on top of the NATS messaging system written in the Go language. NATS is an open source messaging system (sometimes called message-oriented middleware). The NATS server is written in the Go programming language. Apcera develops and provides support for NATS.

NATS Streaming Server (now JetStream) is a persistent messaging system running on top of the NATS messaging system written in the Go language.

NATS is an open source messaging system (sometimes called message-oriented middleware). The NATS server is written in the Go programming language. Client libraries to interface with the server are available for dozens of major programming languages.

Apcera develops and provides support for NATS.

91 questions
0
votes
1 answer

How to connect STAN to NATS using NKeys?

We're setting up a NATS and STAN cluster. The STAN cluster needs to connect to our NATS cluster, obviously. But now I'm having trouble to authenticate, when connecting the STAN cluster to the NATS cluster. We are using NKeys for authentication…
SimonVHB
  • 1
  • 1
  • 3
0
votes
1 answer

How to make a published queue automatically durable?

I am experimenting with Nats streaming server and it looks quite promising so far. However it appears queues can only be durable after a durable subscription has been created for it. This certainly makes sense however how does it work in practice in…
Telavian
  • 3,752
  • 6
  • 36
  • 60
0
votes
1 answer

Unable to subscribe method at Subscriber side in microsystem using nats streaming

I am using two .NET Core Web APIs; one for publishing content and another for subscribing that content using a NATS streaming server. At publisher side string clientID = "abc-publisher"; string clusterID = "test-cluster"; string subject = "testing…
0
votes
1 answer

NATS streaming "StartAt" subscription option

I am a little confused about the requirement/significance of StartAt subscription option when compared to others such as StartAtSequence, StartWithLastReceived etc. I tried to dig into the Java client docs but that did not help either - such as an…
Abhishek
  • 1,175
  • 1
  • 11
  • 21
0
votes
2 answers

How do I hot reload NATS streaming server without stopping the streaming server?

I am running the nats streaming server in a docker container and I want to reload the nats specific configuration without stopping the nats streaming server. Is there a way to do so?
Himanshu Sahu
  • 366
  • 3
  • 11
0
votes
1 answer

Getting the NATS streaming event sequence number in Siddhi

I have a stream of tweets in text format (TwitterStream) and a stream of sentiments for each tweet (SentimentStream). The SentimentStream subscribes to the TwitterStream, does a sentiment analysis and publishes a new message with the result and the…
phzietsman
  • 189
  • 2
  • 9
0
votes
1 answer

How to connect between one service sidecar in Istio with NATS cluster

I was created a NATS cluster without inject to Istio. apiVersion: nats.io/v1alpha2 kind: NatsCluster metadata: name: nats spec: size: 2 pod: annotations: sidecar.istio.io/inject: "false" version: "2.0.0" Now i has one sidecar istio,…
nhu son
  • 1
  • 1
  • 3
0
votes
1 answer

NATS-Streaming record and re-stream channel messages

I want to record messages streamed by NATS-streaming channel and stream it again when I want. I want to create infrastructure to test my micro-service app. All micro-services are talking to each other using NATS-streaming and I would like to…
hanrok
  • 29
  • 1
  • 6
0
votes
1 answer

Is it possible to use SQL Server as DB Store for NATS streaming server?

I plan to create a nats streaming server and use SQL Server as DB store. is that possible? I am not sure what to put on the DB store config
0
votes
1 answer

C client disconnects automatically just after connection

I am running a nats server in cluster mode with ths following config: port: 4222 net: '0.0.0.0' cluster { listen: 0.0.0.0:6222 routes: ["nats://0.0.0.0:6222"] } # NATS Streaming specific configuration streaming { id: test_cluster store:…
user3612009
  • 655
  • 1
  • 6
  • 18
0
votes
1 answer

NATS streaming server auto ack with Publish/Subscribe

I accidentally noticed when I restart my NATS subscriber daemon, that all messages processed again, despite of fact they have been processed without errors. publish.go: err := s.conn.Publish(subject, data) subscriber.go durable :=…
James May
  • 1,371
  • 3
  • 20
  • 37
0
votes
1 answer

How to subscribe the big size file? - NATS Streaming subscribe problem

I am new NATS. I just tried to send and receive a text file using NATS-streaming-server examples. When I send a text file(~9B), it works -Pub onnecting to cluster 'test-cluster' as client 'cs-publisher'. Publishing 1 messages on subject foo Url:…
de dedede
  • 1
  • 2
0
votes
1 answer

NATS-Streaming-Server <1ms latency

Is it possible to setup a nats-streaming-server cluster with a put-get latency < 1ms? I created a 3 node cluster (all residing on the same server), using file storage. eg, # NATS specific configuration port: 4222 cluster { listen: 127.0.0.1:6222 …
jho
  • 1,684
  • 1
  • 16
  • 17
0
votes
1 answer

What if NATS message payload contains \n\r?

I am trying to write a client library for NATS.io. According to the protocol here, \n\r is used to delimiting commands, payload, etc. INFO…
Ravi Teja Gudapati
  • 2,809
  • 2
  • 13
  • 16
0
votes
0 answers

go race data detection when setting up handlers for nats-streaming

For a nats-streaming subscription the handler needs to look like this handler := func(ms *stan.Msg){} I created the following function in an attempt to take the their handler and then call my own to process the message returned. func (t *T)…
Chadit
  • 965
  • 2
  • 12
  • 27