func RedisURL() string {
	return globalConfig.RedisURL
}
RedisURL is the Redis URL configuration. It is required, and is set via the
environment variable `OTR_REDIS_URL`.
To connect to a instance over TLS be sure to specify the url with protocol
`rediss://`, otherwise use `redis://`
package config
import (
	"time"
	"github.com/kelseyhightower/envconfig"
)
type oplogtoredisConfiguration struct {
	RedisURL               string        `required:"true" split_words:"true"`
	MongoURL               string        `required:"true" split_words:"true"`
	HTTPServerAddr         string        `default:"0.0.0.0:9000" envconfig:"HTTP_SERVER_ADDR"`
	BufferSize             int           `default:"10000" split_words:"true"`
	TimestampFlushInterval time.Duration `default:"1s" split_words:"true"`
	MaxCatchUp             time.Duration `default:"60s" split_words:"true"`
	RedisDedupeExpiration  time.Duration `default:"120s" split_words:"true"`
	RedisMetadataPrefix    string        `default:"oplogtoredis::" split_words:"true"`
}
var globalConfig *oplogtoredisConfiguration