Dynamically subscribe to different topics