simple pub/sub with topic definition

just write messages to log