# New Cluster config file

listen: 127.0.0.1:5343

cluster {
  listen: 127.0.0.1:5344
  name: xyz

  # Routes are actively solicited and connected to from this server.
  # Other servers can connect to us if they supply the correct credentials
  # in their routes definitions from above.

  routes = [
    nats-route://127.0.0.1:5345
    nats-route://127.0.0.1:5346
  ]
}

no_sys_acc: true

Related articles

NATS config

blank_issues_enabled: true contact_links: - name: NATS Slack url: https://slack.nats.io about: Please ask and answer questions in our Slack server here.

NATS jetstream_super_cluster_test

// Copyright 2020-2022 The NATS Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses

xredis example10

package main import ( "fmt" "github.com/garyburd/redigo/redis" "github.com/shomali11/xredis" ) func main() { client := xredis.DefaultClient() defer client.Close() connection := client.GetConnection() defer connection.Close() fmt.Println(redis

redis pool_sticky

package pool import ( "context" "errors" "fmt" "sync/atomic" ) const ( stateDefault = 0 stateInited = 1 stateClosed = 2 ) type BadConnError struct { wrapped error } var _ error = (*BadConnError)(nil) func (e BadConnError) Error() string {

cayley unique

package iterator import ( "context" "github.com/cayleygraph/cayley/graph/refs" ) // Unique iterator removes duplicate values from it"s subiterator. type Unique struct { subIt Shape } func NewUnique(subIt Shape) *Unique { return &Unique{ subIt:

vitess comparer

/* Copyright 2021 The Vitess Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.

eliasdb tutorial_graphql

EliasDB GraphQL Tutorial ======================== The following text will give you an introduction to the GraphQL interface of EliasDB. The tutorial will use GraphiQL as a graphical interactive in-browser GraphQL IDE (see [https://github.com/graphql/grap

eliasdb engine

import { EngineOptions, PlayerState, SpriteState } from "./types"; /** * HTML element id for debug output (will only be used if it is defined) */ const debugOutputElementId = "game-debug-out"; /** * Main display controller. */ export class MainDisp

eliasdb asset_license

All assets are public domain (CC0) See: https://opengameart.org/art-search-advanced?keys=space&title=&field_art_tags_tid_op=or&field_art_tags_tid=&name=&field_art_type_tid%5B%5D=9&field_art_type_tid%5B%5D=10&field_art_type_tid%5B%5D=7273&field_art_type_

vitess expressions

/* Copyright 2022 The Vitess Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.