Module launchdarkly-server-sdk-redis

Redis Data Source for LaunchDarkly Lua Server SDK.

Functions

makeRedisSource (uri, prefix) Create a Redis data source, which can be used instead of a LaunchDarkly Streaming or Polling data source.


Functions

makeRedisSource (uri, prefix)
Create a Redis data source, which can be used instead of a LaunchDarkly Streaming or Polling data source. This should be configured in the SDK's configuration table, under the dataSystem.lazyLoad.source property.

Parameters:

  • uri string Redis URI. Example: 'redis://localhost:6379'.
  • prefix string Prefix to use when reading SDK data from Redis. This is prefixed to all Redis keys used by this SDK. Example: 'my-environment'.

Returns:

    A new Redis data source.
generated by LDoc 1.4.6 Last updated 2024-07-15 21:47:07