Process partition metadata in event of topic-level error
@@ -537,10 +537,8 @@ func (client *Client) update(data *MetadataResponse) ([]string, error) {
break
case LeaderNotAvailable:
toRetry[topic.Name] = true
- continue
default:
err = topic.Err
}
client.metadata[topic.Name] = make(map[int32]*PartitionMetadata, len(topic.Partitions))