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
8
votes
1 answer

Does NATS Jetstream provide message ordering by a key?

I am new to NATS Jetstream and I have been reading their official documentation (https://docs.nats.io/jetstream/jetstream) to understand its concepts and compare it with Kafka. One of the major use cases I have, is to solve for message/event…
User_Targaryen
  • 4,125
  • 4
  • 30
  • 51
7
votes
1 answer

Get list of subjects in NATS streaming server

I'm looking for a way to display all the subjects that currently exist on a NATS Streaming Server during operation. Have thoroughly looked through documentation but have been unable to find a mention of this so far. Is there a way to find a list of…
Nobo
  • 71
  • 1
  • 2
6
votes
1 answer

NATS Request Reply - How it works?

I am new NATS. Not sure how NATS request reply works. As per my understanding, this pattern can be use for bi-directional communication but questions is, Does it works between same message id/thread ? If not, can't we use two different queue for the…
DSA
  • 720
  • 2
  • 9
  • 30
5
votes
1 answer

Is there a NATS Web UI tool to monitor messages?

Is there any tool available to monitor the actual messages published through a NATS queue? For a presentation I need to display the messages displayed through a microservice architecture and it would be nice to do that via an existing solution in…
patreu22
  • 2,988
  • 4
  • 22
  • 31
3
votes
3 answers

How to install NATS CLI Tool in windows 10

I have up and running NATS server with docker in my windows machine. I want to install the nats CLI Tool as well in my windows machine. In the documentation it is only mentioned about Mac and…
3
votes
1 answer

Confused between Socket.IO and Nats.io Which to use in production?

Hope all are fine, I have some confusion regarding Socket.IO and Nats.IO currently i have a mobile application which is using Socket.Io to broadcast crypto price data every 500 milliseconds to each active client. Currently application have 25k…
user12575366
  • 303
  • 1
  • 2
  • 8
3
votes
2 answers

Remove of specific subject from JetStream or how many number of subjects will be created

Is it possible to remove a subject from JetStream once the messages are subscribed. For example if my stream is configured with subject orders.* and I have created one consumer with orders.new, is it possible to remove orders.new from stream. Also…
user3212324
  • 163
  • 1
  • 6
  • 23
3
votes
2 answers

nats: no response from stream

have error with nats-server -js when i want publish msg with golang in nats-server -js, i have error like this: nats: no response from stream i want publish video to nats-server -js this is my pub file: nc, _ :=…
mahdi gadget
  • 83
  • 1
  • 6
3
votes
1 answer

NATS - just one subscriber to take action for published event in a microservicearchitecture

I'm new to NATS and have read all the examples for: https://nats.io/documentation/concepts/nats-messaging/ I'm in Microservciearchitecture where in microservice-Y (MSY) need to store some information published from other microservice-X (MSX) I have…
user3154653
  • 203
  • 1
  • 11
2
votes
1 answer

NATS Core + Nats C Client message loss

I suffer message loss with NATS publish (Core, not Jetstream yet). Using NATS CLI on Windows to subscribe as sub ">" Using NATS server on Linux Ubuntu on local LAN. Application on Windows using NATS C Client (latest GitHub version). The following…
Morph
  • 144
  • 4
2
votes
0 answers

Pull last batch of messages from a nats jetstream

I want to write a java client consumer, such that it need to pull a set of messages from a jetStream. Here I want to either pull all of the messages or pull the last messages(batch size can be specified). Is there anyway to implement without using…
2
votes
0 answers

Server Cannot find NATS from inside Docker Container

For a project I have a Go Server running in a Docker container, a NATs Server, and a standalone client. The server tries to send messages through NATs. To connect to NATs, it uses the following code: var nc, err = nats.Connect(nats.DefaultURL) …
Johnney
  • 161
  • 1
  • 9
2
votes
0 answers

With nats can I export a stream from one account to different accounts which can import on the same topic?

I'm using nats and I'm not sure if it will be able to do what I'm attempting. My understanding is that accounts will allow me to have overlapping subjects since the subject space is not globally shared. What I'd like to be able to do is have…
Darren
  • 1,071
  • 1
  • 15
  • 39
2
votes
2 answers

Listener for NATS JetStream

Can some one help how to configure NATS jet stream subscription in spring boot asynchronously example: looking for an equivalent annotation like @kafkalistener for Nats jetstream I am able to pull the messages using endpoint but however when tried…
user3212324
  • 163
  • 1
  • 6
  • 23
2
votes
1 answer

How does NATS / JetStream "remember" subscribers?

I'm doing my first steps with NATS and see behavior I cannot make sense of, even after reading the docs quite carefully. I have a local NATS server (2.6.5) running. It was started with ./nats-server -js I generate some messages with the following…
Achim
  • 15,415
  • 15
  • 80
  • 144
1
2 3 4 5 6 7