title: How to make consumer subscribe the dynamically created topics automatically in nodejs
body: <p>There are several similar questions available on stackoverflow itself but still I am asking again because I want solution in <strong>NodeJS</strong>.</p>
  <p>The scenario is -</p>
  <p>(I am using kafkaJS library)</p>
  <p>I have two topics topic-A and topic-B, so I subscribe to <strong>/topic-.*/</strong>, then topic-C is created, now I want my consumer to automatically subscribe to topic-c as well. But this is not happening.</p>
  <p>I am getting only one solution that is, I have to stop my consumer and reinitiate it after every new topic creation.(But this approach seems tough to maintain when multiple topic will create dynamically).</p>
  <p>Can anyone please suggest me any other solution with example. Thank you in advance.</p>