Tyk v2.2 Documentation Components

  1. Home
  2. Tyk v2.2 Documentation Components
  3. Setting up Tyk MDCB

Setting up Tyk MDCB

Tyk MDCB is mainly configured using a single conf file, it only needs to be able to access your Redis and MongoDB databases.

Tyk MDCB has a separate license, which you can request from your account representative.

The tyk_sink configuration file:

{
    "storage": {
        "type": "redis",
        "host": "localhost",
        "port": 6379
    },
    "hash_keys": true,
    "analytics": {
        "mongo_url": "mongodb://localhost/tyk_analytics"
    },
    "license": ""
}
  • storage: This section describes your centralised Redis DB, this will act as your master key store for all of your clusters.
  • hash_keys: Set to true if you are using a hashed configuration install of Tyk, otherwise set to false.
  • analytics: This section must point to your MongoDB replica set and must be a valid MongoDB replica set URL.
  • license: Enter your license in this section so MDCB can start.