Questions tagged [nats.io]

NATS is a simple, secure, and highly performant open source messaging system for cloud native applications with clients for Go, Python, Ruby, Node, Deno, Java, C#, C, and more.

NATS is a simple, secure, and highly performant open source messaging system for cloud native applications with clients for Go, Python, Ruby, Node, Deno, Java, C#, C, and more.

Links

281 questions
0
votes
1 answer

NATS discards the queue data

I am exploring the NATS for queuing and currently i am using redis lists. I stuck in below scenario, which easily manageable in redis: 1) There is one daemon which pushing the value in queue and one daemon which continuously reading from queue. If…
Ashish Tiwari
  • 1,919
  • 1
  • 14
  • 26
0
votes
1 answer

Is it possible to use a Subject in ZeroMQ?

I have a little project that implements NATS Queueing This is the code: import * as NATS from '../node_modules/nats' // for typescript var nats = require('nats'); var config = require('./config'); var opt: NATS.ClientOpts =…
Janka
  • 1,908
  • 5
  • 20
  • 41
0
votes
3 answers

NATS IO internal architecture

Currently I am working on migrating TIBCO RV to NATS IO for a project. I am curious to know what internal architecture makes NATS IO to be superior interms of performance as they claim in their website http://nats.io/about/. I couldn't find any…
0
votes
1 answer

coroutine yield continue to main

I'm trying to use coroutine in order to send data to NATS (nats.io messaging system). When I try to call this code without arguments and for loop it's working perfectly. But when I am adding arguments, the yield nc.connect function wouldn't return…
MIkCode
  • 2,655
  • 5
  • 28
  • 46
0
votes
1 answer

How to setup a delayed, non-blocking self stop using Python Tornado for the NATS Client

I'm trying to get Tornado to stop after a timeout period without blocking any existing functionality. I might be missing a Tornado convention, but it doesn't matter if I use spawn_callback, Task, or a Thread, I seem to be holding up the main…
dubmojo
  • 6,660
  • 8
  • 41
  • 68
0
votes
1 answer

String concatenation in NATS server config

Can I make a concatenation of variables and strings in NATS configuration file. For instance: authorization { VERSION = "v1" REQUSTOR = { publish = ["msg." + $VERSION + ".bazz", "msg." + $VERSION + ".spam"] subscribe = "inbox." +…
Kirill Liubun
  • 1,965
  • 1
  • 17
  • 35
0
votes
1 answer

Nats which pattern to use

I asked a question in: Microservice Architecture dependency which pattern to use when using a clustered Microservice architecure. I recieved answer that point to point should work but when…
user3154653
  • 203
  • 1
  • 11
0
votes
1 answer

How can you connect to cloud foundry's NATS server from within your application?

I read that NATS is already deployed in cloud foundry and it is used for all the inter-component communcations. Can you connect to that NATS server from your application? Can you get it's url?
0
votes
1 answer

nats.io python client does not flush on close

I have a leetle test program which does not work unless I do a client.flush() before client.close(). A naive reading of nats/aio/client.py seems to suggest that close() does some kind of flush(), so I do not understand why my test program fails. Is…
Alistair Bayley
  • 331
  • 2
  • 14
0
votes
1 answer

Python: Asyncio NATS.io blocking

I have troubles to make Python Asyncio NATS.io running sequentialy. I have two classes: Account and Bridge Account holds the logic of application and it is communicating thought Bridge with external service via NATS.io. Main file: loop =…
ememem
  • 316
  • 1
  • 3
  • 15
-1
votes
1 answer

.net core monitor nats request with prometheus

I have a net core 3.1 web-API application that integrated with nats and I need to capture all my application's traffic and send them to Prometheus for monitor application's activity in this case, I've used this article but it described a way of…
Kasra
  • 119
  • 2
  • 13
1 2 3
18
19