docs: function getAvailableTopics(topicsInfo, allowedTopics) {
      const existentTopics = topicsInfo.map(
          e => e.name
      )
      .filter(t => t !== '__consumer_offsets');
  
      if (allowedTopics) {
          return existentTopics.filter(t => _.includes(allowedTopics, t));
      }
      else {
          return existentTopics;
      }
  }