{
    "namespace": "services", // pub/sub namespace
    "transporter": {
        "amqp": {
            "type": "AMQP",
            "options": {
                "url": "amqp://guest:guest@localhost:5672"
            }
        },
        "nats": {
            "type": "NATS",
            "options": {
                "urls": ["nats://localhost:4222"]
                //"user": "admin",
                //"pass": "1234",
                //"token": "mytoken"
            }
        }
    },
    "metrics_reporter": {
        "prometheus": {
            "type": "prometheus",
            "push_url": "http://localhost:9091"
        }
    },
    "kafka_cluster": {
        "kafkaHost": "localhost:2091, localhost:2092, localhost:2093"
    },
    "logger": {
        "pipe_to_kafka": false
    },
    "redis_cluster": [
        {
            "port": 6380,
            "host": "redis1"
        },
        {
            "port": 6379,
            "host": "redis1"
        },
        {
            "port": 6380,
            "host": "redis2"
        },
        {
            "port": 6379,
            "host": "redis2"
        },
        {
            "port": 6380,
            "host": "redis3"
        },
        {
            "port": 6379,
            "host": "redis3"
        }
    ],
    "rethinkdb_cluster": {
        "discovery": false /** to need to discover **/,
        "authKey": "",
        /** look up from seeding list */
        "servers": [
            { "host": "rethinkdb1", "port": 28015 },
            { "host": "rethinkdb2", "port": 28015 },
            { "host": "rethinkdb3", "port": 28015 },
            { "host": "rethinkdb4", "port": 28015 },
            { "host": "rethinkdb5", "port": 28015 }
        ],
        "buffer": 5, // keep n connections available at all time
        "max": 12, // use a maximum of n connections in the pool
        "silent": true // # internal events
    },
    "webServiceTimeout": 12000
}
