Re: [akka-user] [akka-persistence] readjournal query by multiple tags

2016-11-08 Thread Patrik Nordwall
Depending on the data store I think that can be rather difficult to
implement. A persistence query plugin may implement any queries and I think
this is an excellent plugin specific extension for those plugins that can
implement it without trouble.

Regards,
Patrik

On Mon, Oct 31, 2016 at 8:39 PM,  wrote:

> Is there a feature (planned?) to support querying the read journal by
> multiple tags. Typically projections in an event sourced application only
> update from a very small subset of the events. Say I have a UserProjection
> that creates/updates a UserReadModel from a UserRegistered event and all
> other User* events don't affect that read model. In this case it would be
> useful to have a queryByTags(Seq("UserRegistered"), ) method on the
> read journal which would make (re)building that projection much more
> efficient.
>
> --
> >> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Akka Tech Lead
Lightbend  -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


[akka-user] [akka-persistence] readjournal query by multiple tags

2016-10-31 Thread jsoeters
Is there a feature (planned?) to support querying the read journal by 
multiple tags. Typically projections in an event sourced application only 
update from a very small subset of the events. Say I have a UserProjection 
that creates/updates a UserReadModel from a UserRegistered event and all 
other User* events don't affect that read model. In this case it would be 
useful to have a queryByTags(Seq("UserRegistered"), ) method on the 
read journal which would make (re)building that projection much more 
efficient.

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.