nats-server
throughout this site):nats-server
) is written in Go. There is client support for a wide variety of languages. Please see the Please see the Developing with NATS page for more info.nats-server
with a subject as its address, and nats-server
delivers the message to any interested/eligible subscriber of that subject. Optionally, you may also send along a reply subject with your message, which provides a way for subscribers who have received your message(s) to send messages back to you.nats-server
will attempt to deliver a copy of every message published to that subject to every eligible subscriber of that subject. For subscribers in a queue group, nats-server
will attempt to deliver each successive message to exactly one subscriber in the group, chosen at random.nats-server
.'.'
is the token separator.'*'
is a token wildcard match.'>'
is a full wildcard match.max_payload
) that is enforced by the server and communicated to the client during connection setup. The size is set to 1 MB by default, but can be increased up to 64 MB if needed (though we recommend keeping the max message size to something more reasonable like 8 MB).nats-server
v0.8.0, there is no hard limit on the maximum number of subjects.