Hi,--I would like to use nginx push stream module for using event source (sse) eventing.I also would like to use wildcard subscription capability so i can have hierarchy - level subscription without duplicating events stored in the shared buffer. Basically I would like to have the mqtt wildcard support with SSE.As an example:Client A can subscribe to:
>> 1. Foo/#
>> 2. Foo/Foo2/#
>> 3. Foo/Foo2/Foo3The events that is triggering Foo3 should be stored 3 times, it should maintain one time but can be accessible through multi level subscriptions.Is it possible to do it with the push_stream_wildcard_channel_prefix capability of nginx push stream module???Best,Pouya
You received this message because you are subscribed to the Google Groups "nginxpushstream" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nginxpushstream+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
HI,Thanks for the quick reply. I meant that, with the wildcard capability, is it possible to do sth like what happens in MQTT??:* single level hierarchy --> Foo/+/Foo3As the name already suggests, a single level wildcard is a substitute for one topic level. The plus symbol represents a single level wildcard in the topic.* multi-level hierarchy --> Foo/Foo2/#While the single level wildcard only covers one topic level, the multi-level wildcard covers an arbitrary number of topic levels. In order to determine the matching topics, it is required that the multi-level wildcard is always the last character in the topic and it is preceded by a forward slash.Therefore with this capability, it is possible to prevent duplication of events that are stored in different channels. Imagine if a subscriber subscribes to Foo1/Foo2/Foo3 and also to Foo1/Foo2//# , with wildcard support it is going to send the Foo1/Foo2/Foo3 one time and no duplication. However, if there is no such capability then there will be duplications of the same data.In summary, in my use case which is an embedded device, I have a shortage of memory and i can have a big shared memory size also, I need to maintain the last state of the attributed which are hierarchical. I was thinking to use NCHAN, but it does not have wildcard support.Best,Pouya
To unsubscribe from this group and stop receiving emails from it, send an email to nginxpushstre...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.