Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants