It seems that you use the same jedis client for subscribe and publish. You just need to create another client and one is for subscribe and the other is for publish
It seems that you use the same jedis client for subscribe and publish. You just need to create another client and one is for subscribe and the other is for publish