benhoff / vexbot

Chat bot featuring multiple services connected to a bot instance using messaging
GNU General Public License v3.0
63 stars 21 forks source link

XPub/XSub Handling #20

Open benhoff opened 7 years ago

benhoff commented 7 years ago

There's something weird about the way that I'm handling the subscriptions.

For example, on the adapter messaging side, there should be an easy way to do multiple subscriptions. This is handled in the configuration file.

I'm not sure if it makes sense to have multiple subscriptions or not on the bot side (vexbot.messaging). Since the XPub/XSub are binding, I believe the answer is no.

I'd probably like to switch the defaults around, so that the subscription socket that the adapters are connecting to is tcp://my.address.here:4000 instead of the current tcp://my.address.here:4001