Legacy - NATS Docs
CtrlK
NATS.ioNATS by ExampleSlackNATS Docs
  • Legacy NATS Documentation
  • NATS Streaming Server (aka STAN)
    • Developing With STAN
      • Connecting to NATS Streaming
      • Publishing to a Channel
      • Receiving a Message from a Channel
      • Queue Subscriptions
      • Durable Subscriptions
      • Acknowledgements
      • The Streaming Protocol
    • STAN Concepts
      • Store Encryption
      • Partitioning
      • Relation to NATS
      • Store Interface
      • Channels
        • Message Log
        • Subscriptions
          • Durable
          • Regular
          • Queue Group
          • Redelivery
      • Clustering
        • Containers
        • Configuration
        • Auto Configuration
        • Supported Stores
      • Monitoring
        • Endpoints
      • Fault Tolerance
        • Active Server
        • Standby Servers
        • Failover
        • Shared State
    • STAN NATS Streaming Server
      • Embedding NATS Streaming Server
      • Running
      • Installing
      • Docker Swarm
      • Windows Service
      • Configuring
        • Store Limits
        • Configuration File
        • Securing
        • Command Line Arguments
        • Persistence
          • File Store
          • SQL Store
      • STAN on Kubernetes
        • NATS Streaming Cluster with FT Mode
  • nats-account-server
    • Inspecting JWTs
    • Update Notifications
    • Directory Store
    • Basics
Powered by GitBook
On this page
  1. NATS Streaming Server (aka STAN)
  2. STAN Concepts
  3. Channels

Message Log

You can view a message log as a First In First Out (FIFO) queue. Messages are appended to the end of the log. If a limit is set globally for all channels, or specifically for this channel, when the limit is reached, older messages are removed to make room for the new ones.

But except for the administrative size/age limit set for a message log, messages are not removed due to consumers consuming them. In fact, messages are stored regardless of the presence of subscriptions on that channel.

PreviousChannelsNextSubscriptions