Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis - Ponte #48

Open
Garayo opened this issue Jul 3, 2017 · 1 comment
Open

Redis - Ponte #48

Garayo opened this issue Jul 3, 2017 · 1 comment

Comments

@Garayo
Copy link

Garayo commented Jul 3, 2017

Hi to everyone!

I'm trying to connect ponte with Reddis but I'm not having chance. I know that Reddis has two modes of operation (data base and broker mode) and I have to use the last one, pub/sub.

However, I'm not able to connect ponte with Redis. I don't know exactly how to manage ponte's configuration to define the channel and connect both of them. Could anyone help me? Thank you!

@chombium
Copy link
Contributor

chombium commented Jul 3, 2017

Hi @Garayo,

have you checked the example Redis config?
Ponte uses Ascoltatori to connect to Redis.
Please check the following links:
https://github.com/mcollina/ascoltatori#redis
http://www.mosca.io/docs/lib/persistence/redis.js.html

You can simply extend the example configuration in sample_config_redis.js as described in the Ascoltatori docs and examples.

HTH.

Best Regards,
Jovan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants