tulip / oplogtoredis

Publish MongoDB oplog entries to Redis
Apache License 2.0
38 stars 9 forks source link

Use Lettuce schema for Redis Sentinel URLs #52

Closed alex-goodisman closed 11 months ago

alex-goodisman commented 11 months ago

Schema is defined here: https://github.com/lettuce-io/lettuce-core/wiki/Redis-URI-and-connection-details#uri-syntax

OTR_REDIS_URL value should be comma-separated as before, and each term should either be a regular redis:// URL, or one of these lettuce pseudo-url entries.

Updated the docker-compose test files to use this schema for sentinel.

The tests themselves still connect directly to the sentinel cluster, but OTR running in the tests will parse the URLs as described.