Topic based routing for events