Is there a way to subscribe to a stream category through EventStore.ClientAPI?

177 views
Skip to first unread message

NextGen Evangelist

unread,
May 7, 2013, 10:54:44 PM5/7/13
to ddd...@googlegroups.com
Using projections we should be able to access streams with specific category as specified below:
 fromCategory('category')
However, I would like to know whether there is a way to subscribe to streams with specific category using EventStore.ClientAPI?

Thanks in Advance.

Greg Young

unread,
May 7, 2013, 11:16:31 PM5/7/13
to ddd...@googlegroups.com
Fromall().when($any : function(s,e) if(inmycategory) linkto("my stream" , e)

Then subscribe "mystream" this is one way of doing it.
--
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
Le doute n'est pas une condition agréable, mais la certitude est absurde.

NextGen Evangelist

unread,
May 8, 2013, 12:47:36 AM5/8/13
to ddd...@googlegroups.com
Thanks Greg. This way we will end-up creating multiple streams in my system.  What will be the impact of creating these additional streams/indexes on EventStore performance?
Reply all
Reply to author
Forward
0 new messages