Hi Val,
On Fri, Feb 19, 2016 at 6:28 PM, Val P <[email protected]> wrote: > Hi All, > I'm experimenting with the PubSubMediator and Akka Cluster. So far so > good, but I have one use case which I cannot cover yet. > > > Is it possible to either: > > a. Use a custom comparer on a Publish operation, to match a Publish > request against multiple topics using wildcards? E.g. similar to: > mediator ! Publish("prefix*", msg, { my custom comprarer... }) > No, we don't support wildcards. > > or > > b. Get access to the list of active topics that I can enumerate to do > wildcard matching? I am assuming that the mediator maintains a local list > of all defined topics in the cluster, but maybe I'm mistaken? It doesn't > have to be perfectly consistent, "eventually consistent" is fine. > There is a GetTpoics message that you can send to the PubSubMediator, which in turn will answer with a CurrentTopics(Set[String]) message. -Endre > > > > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Akka Team Typesafe - Reactive apps on the JVM Blog: letitcrash.com Twitter: @akkateam -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
