plugins/topic: validate configuration