I am trying to use as minimal example as possible, I just spinned out of the box docker-compose proposed file on my localhost from official link https://mercure.rocks/docs/hub/install (the only difference is I disabled HTTPS so i run on normal :80).
I made dummy client who connects to 3 topics just for testing purposes, all the same user payload, topics are named (1,2,3), I know they should be URI formatted but for testing purposes I wanted to simplify as much as possible. So when I do the following call it confirms that this client is listening on 3 topics:
I am still getting all 3 subscriptions even though I just want the 2nd one with topic 2.
Interestingly enough, its not that it doesn't work at all, for example, in examples before I was playing with 3 users, so when I would query for all the subscriptions, I would get obviously all subscriptions, but when I filtered for topic X, I would get only subscriptions that are connected to topic X BUT also I would get all their other subscriptions as well which I don't want.
Is this the way its supposed to work and I have to do filtering manually on my side or am I missing something?
I am trying to use as minimal example as possible, I just spinned out of the box docker-compose proposed file on my localhost from official link https://mercure.rocks/docs/hub/install (the only difference is I disabled HTTPS so i run on normal :80).
I made dummy client who connects to 3 topics just for testing purposes, all the same user payload, topics are named (1,2,3), I know they should be URI formatted but for testing purposes I wanted to simplify as much as possible. So when I do the following call it confirms that this client is listening on 3 topics:
I get:
Everything as expected, but now I want to filter by topics, so I just want it to show me subscriptions that are connected to the topic
2
:I get:
I am still getting all 3 subscriptions even though I just want the 2nd one with topic
2
.Interestingly enough, its not that it doesn't work at all, for example, in examples before I was playing with 3 users, so when I would query for all the subscriptions, I would get obviously all subscriptions, but when I filtered for topic X, I would get only subscriptions that are connected to topic X BUT also I would get all their other subscriptions as well which I don't want.
Is this the way its supposed to work and I have to do filtering manually on my side or am I missing something?