// DeleteTopicMetadata removes an existing topic metadata.
DeleteTopicMetadata removes an existing topic metadata.
// DeleteTopicMetadata removes an existing topic metadata .
func (c *Client) DeleteTopicMetadata(topicName string) error {
	if topicName == "" {
		return errRequired("topicName")
	}
	path := fmt.Sprintf(topicMetadataPath, topicName)
	resp, err := c.Do(http.MethodDelete, path, "", nil)
	if err != nil {
		return err
	}
	return resp.Body.Close()
}
func ( c * Client ) DeleteTopicMetadata ( topicName string ) error { if topicName == " " { return errRequired ( " " ) } path := fmt . Sprintf ( topicMetadataPath , topicName ) resp , err := c . Do ( http . MethodDelete , path , " " , nil ) if err != nil { return err } return resp . Body . Close ( ) }
DeleteTopicMetadata removes an existing topic metadata.
DeleteTopicMetadata removes an existing topic metadata .