goflow
goflow copied to clipboard
There is no option to pass the redis client into goflow struct
When initializing GoFlow with all the necessary configurations, I encountered an issue with passing the Redis client. In the GoFlow struct, there's only an option to provide the RedisClient:
fs := &goflow.FlowService{ RedisURL: redisUrl, WorkerConcurrency: 5, } However, when attempting to include SSL configuration in the Redis URL, I encountered the following error message:
failed to initiate connection, error dial tcp: address .too many colons in address
The sample Redis URL used was: "rediss://" + options.Username + ":" + options.Password + "@" + options.Addr + "/0?ssl_cert_reqs=None"
Further investigation is required to resolve this problem and successfully pass the SSL configuration to the go flow during initialization.