simple pub/sub with topic definition