question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support redis url format

See original GitHub issue

Instead 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:closed
  • Created 9 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
behradcommented, Jul 12, 2014

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.

0reactions
nilsgacommented, Jul 11, 2014

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found