-
Notifications
You must be signed in to change notification settings - Fork 50
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
Replacement of registerPubSubChannels to register channels events #104
Comments
there is no need to register it its just done automatically for any channel you send |
eh maybe you didn't close connections and Also don't use JedisPool instead use as UnifiedJedis as an alternative |
And it's well registering for events ? I just need to send like a fake message to make it registered in reading ? |
Its done automatically Event will fire just normal no need to send message to register. |
This doesn't works. I'm sending something on a channel, and I'm waiting for answer. I can't get it, but while listening on redis-cli, I well see the published content. Also, methods to get the Finally, this event seems most to say which message are sent from this proxy to others, not the opposite |
see the wiki it has better way https://github.com/ProxioDev/ValioBungee/wiki/API#relocation--access-built-in-unifiedjedis
did you register the listener? because if its not working then internals of redisbungee should be failing since its used for players events etc. // code used in velocity proxy
@Subscribe
public void onPubSubMessageEvent(PubSubMessageEvent event) {
System.out.println("handling: " + event.getChannel());
handlePubSubMessageEvent(event);
}
|
Your question?
What is the replacement for
registerPubSubChannels
? I tried to do it myself withRedisBungeeAPI.getRedisBungeeApi().getJedisPool().getResource()
but it seems to block the thread or something.The text was updated successfully, but these errors were encountered: