mlasevich / PyRSMQ

Python Implementation of Redis Simple Message Queue Algorithm
Apache License 2.0
44 stars 10 forks source link

There is no password field in parameters of connection #2

Closed AlexanderKozhevin closed 4 years ago

mlasevich commented 4 years ago

Please check out the documentation in the front page :-)

Short of it - you have two options:

1 - create your own Redis client in any way you wish and pass it via client parameter instead of host/port parameters.

2 - Keep using host/port parameters but also use options parameter. Any kwarg option supported by Redis-py can be used there. At a glance, password and username parameters are what you likely want.

Enjoy

brnavneet commented 3 years ago

Thanks a lot! it works. But It would be better to mention it in the document as an example.

mlasevich commented 3 years ago

Given this was opened as an issue twice now, you are probably right