I'm new to NATS and I have taken over an almost finshed application in NetCore 5.0. When I'm startning the application a Connection is set to an docker NATS server and this properties are set in appsettings.
"NatsSettings": {
"Url": "nats://localhost:4222",
"StreamName": "nats-server",
"Timeout": 10000,
"Verbose": true,
"StreamReceivedSubject": "TestData.received.Subject",
"ReceivedConsumerName": "TestData.Received.Consumer.Name",
"ConsumerReceivedSubject": "TestData.Consumer.Received.Subject",
"ConsumerReceivedFilter": "TestData.Received.Filter",
"Subjects": [
"TestData.*"
]
}
What am I missing in the settings for the connection? The error message I keep on getting is NATS.Client.NATSNoRespondersException: 'No responders are available for the request.'
Can anyone help me?
KR Jörgen