ons on port 6222. It creates 2 routes, to <code>host2</code> and <code>host3</code> cluster port.</p>
<p>It defines the NATS Streaming cluster name as <code>mycluster</code>, uses a store file that points to the <code>store</code> directory. The <code>cluster</code> section inside <code>streaming</code> makes the NATS Streaming server run in cluster mode. This configuration explicitly define each node id (<code>a</code> for <code>host1</code>) and list its peers.</p>
<pre class="language-"><code># NATS spec