This page has moved to https://docs.nats.io.
Click here if you are not redirected.
In order to run NATS Streaming Server in clustered mode, you need to specify a persistent store. At this time you have the choice between
The NATS Streaming stores server meta information, messages and subscriptions to the storage you configure using the
However, in clustered mode, we use RAFT for leader election. The raft layer uses its own stores which are currently necessarily file based. The location of the RAFT stores defaults to the current directory under a sub-directory named after the cluster ID, or you can configure it using
This means that even if you select a SQL Store, there will still be a need for storing data on the file system.