Question about the struct 'subscription'
@chowyu08 @MarcMagnin A newer for mqtt. I am curious what means the member 'queue' in the struct 'subscription' is? thanks true --> ? false --> ?
type subscription struct { client *client topic string qos byte queue bool }
Hi, @Andy320 I'm a bit new to the project as well so we'll have to wait for @chowyu08 ;) Regards.
@MarcMagnin That's fine. I just go through the code , this may be related to the '$queue' in the cmd subscribe? @chowyu08
@Andy320 @MarcMagnin when 'queue' is true means the subscribe topic start with '$queue/', in the same topic group only one can receive the message. here
@chowyu08 @MarcMagnin Now I get it that the concept somehow is like the 'group' in kafka or the 'channel' in nsq. We can use it for example to do LB. And this feature is used for client<->server, not client<->client.
Does it support the Shared Subscription? I have no idea where it is wrote.