add support eventid register

Add a register with set<Integer> parameter. The subscriber only care
about the event post with a integer eventId, and such event can only be
sent to the eventId's subscriber.