I’ve a slightly more complex variant of this now that would make polling multiple streams externally a bit of none goer. Unless there is another way of looking at the problem…
Given a set of users, they can post messages to a central location, call it a wall for now. In posting a message they effectively join that wall and are interested in seeing further updates from it. If I look at the stream for the wall I should be able to see all interaction i.e. the messages from different users. This should work fine.
As a user I can view a separate stream of my own activity (again, this should be fine), plus I can see another view that aggregates all my interactions and other people’s interaction across the walls I am interested in. This is where it falls down.
So on receiving message events into the system I can linkto new streams of:
wall-[id]
user-[id]
But then I need to produce other streams that represent a view for each user, including messages from other users, which we made on walls the base user is interested in.
I’m thinking of these things as a stack of items, which is wrong. It feels like there should be a solution but I may be looking to bend GES in a direction it was not designed for. Please say so if this is the case!
Thanks