async metadata(topics = []) {
    const metadata = this.lookupRequest(apiKeys.Metadata, requests.Metadata)
    const shuffledTopics = shuffle(topics)
    return await this[PRIVATE.SEND_REQUEST](
      metadata({ topics: shuffledTopics, allowAutoTopicCreation: this.allowAutoTopicCreation })
    )
  }
@public
@type {import("../../types").Broker['metadata']}
@param {string[]} [topics=[]] An array of topics to fetch metadata for.
                           If no topics are specified fetch metadata for all topics