Page 1 of 1

Subscribe/Publish filter is needed

Posted: Tue Mar 19, 2019 1:23 pm
by woshishuier
For example, some subscribers care about topic A in some conditions, and other subscribes care about topic A in other conditions. So is there anything like subTopic or filter to decide which subscribers to publish to ? Thank you!

Re: Subscribe/Publish filter is needed

Posted: Wed Mar 20, 2019 3:37 am
by jarl
Hi,

There isn't anything on the server-side (i.e. publisher-side), that would allow publishing to select subgroups of subscribers, within a topic. You could instead include some information in the published messages, and then let the clients use that information to determine if they should ignore the message or not.