EventEnvelope should contain event tags

For multi-tenancy purposes I tag the events with a tenantId. In the projection handler I would like to read the tags of the event (in order to read the tenantId associated with the event). I believe all event tags should be contained in the event envelope (akka.projection.eventsourced.EventEnvelope).

Not sure how this feature proposal is related to include metadata in EventEnvelope, #532 by patriknw · Pull Request #549 · akka/akka-persistence-jdbc · GitHub.

That would be a rather big change. I’m not sure it’s worth it and would also add overhead when it’s not needed.

I’d recommend that you include that information in the events instead.

Probably you are right (about the cost of this feature). I will have to query the tags table from the projection…