Redis Components

Apiman components for Redis.

Global Required Parameters

Name Type Description

config.file

String

Components

Cache Store

  • Properties (Servlet)

  • JSON (Vert.x)

apiman-gateway.components.ICacheStoreComponent=io.apiman.gateway.engine.redis.RedisCacheStoreComponent
{
  "components": {
    "ICacheStoreComponent": {
      "class": "io.apiman.gateway.engine.redis.RedisCacheStoreComponent",
      "config": {
        // <config here>
      }
    }
  }
}

Rate Limiter

  • Properties (Servlet)

  • JSON (Vert.x)

apiman-gateway.components.IRateLimiterComponent=io.apiman.gateway.engine.redis.RedisRateLimiterComponent
{
  "components": {
    "IRateLimiterComponent": {
      "class": "io.apiman.gateway.engine.redis.RedisRateLimiterComponent",
      "config": {
        // <config here>
      }
    }
  }
}

Shared State

  • Properties (Servlet)

  • JSON (Vert.x)

apiman-gateway.components.ISharedStateComponent=io.apiman.gateway.engine.redis.RedisSharedStateComponent
{
  "components": {
    "ISharedStateComponent": {
      "class": "io.apiman.gateway.engine.redis.RedisSharedStateComponent",
      "config": {
        // <config here>
      }
    }
  }
}