Get topic_id as input param.