Support redis url format
See original GitHub issueInstead of having to specify host, port and auth in the redis options, it would be nice to be able to just specify the redis url, which would integrate nicely with e.g. various Redis cloud service with Heroku.
So instead of:
var queue = kue.createQueue({
redis: {
host: redisHost,
port: redisPort,
auth: redisAuth
}
});
we could use
var queue = kue.createQueue({
redis: {
url: redisUrl
}
});
Issue Analytics
- State:
- Created 9 years ago
- Comments:5
Top Results From Across the Web
Redis URI and connection details · lettuce-io/lettuce-core Wiki
Redis URIs may contain authentication details that effectively lead to usernames with passwords, password-only, or no authentication.
Read more >URI for Redis connection info - metacpan.org
The URI::redis class supports URI objects belonging to the redis and redis+unix URI scheme. Such URLs are used to encode connection info ...
Read more >Redis URL | How to Create a connection URL in Redis?
In redis, the URL class supports the URL object which belongs to the redis server. Same url we use to encode the connections...
Read more >redis: URI scheme - Internet Assigned Numbers Authority
Redis client libraries implement the RESP (REdis Serialization Protocol) defined in "Redis Protocol specification". This URI scheme is not part ...
Read more >How to create a redis cloud connection url with an auth ...
I use golang (https://github.com/garyburd/redigo) and connect to aliyun cloud Redis (link: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/mranney/node_redis/issues/243 https://github.com/ddollar/redis-url https://github.com/laggyluke/node-parse-redis-url
Since
node_redis
(which kue is using for redis connections) is not directly supporting redis urls, I’m closing this for now.Sure, but most packages already support this, so not having to do it in two different ways, when using other redis dependent packages would be nice.