Redis Adapter Properties in a Service Config
  • Dark
    Light
  • PDF

Redis Adapter Properties in a Service Config

  • Dark
    Light
  • PDF

Properties

In a shared Redis setup, configuration points to a master/slave group of Redis servers that share token data between IAP cogs. For shared sessions, the Redis adapter should be configured to connect to a set of Redis instances monitored by sentinels.

Property Name Type Default Description
name String pronghorn-tokens The name of the Redis sentinel group.
password String The password for the Redis sentinels the adapter is connecting to. When using Redis sentinels the passwords for all the Redis servers must be configured to the same value.
sentinels Array The list of sentinels to connect to.
sentinels[x].host String The IP or FQDN of the Redis server.
sentinels[x].port Number 26379 The port number of the Redis sentinel. Must be a number in the range 1 - 65535.


Sample Redundant Configuration

{
  "id": "redis",
  "type": "Redis",
  "properties": {
    "name": "pronghorn-tokens",
    "password": "$ENC93f88824437dfe5784c7570f99d7251f878a2284aed6449259"
    "sentinels": [{
      "host": "redis1",
      "port": 26379
    },{
      "host": "redis2",
      "port": 26379
    },{
      "host": "redis3",
      "port": 26379
    }]
  },
  "brokers": [ "persistence" ]
}

Max Retries Property in IAP Profile

The maxRetries property determines the number of times a service will restart due to uncaught exceptions and unhandled rejections. If IAP restarts a service more than the maximum number of maxRetries, it will no longer attempt to restart it. If the service is subsequently started again, the retry count is reset to 0. The maxRetries property is set in the retryStrategy property within the IAP Profile and applies to all services in IAP.

Property Type Default Description
maxRetries Number 10 Maximum number of times IAP will restart services due to uncaught exceptions and unhandled rejections.



Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.