kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huxihx (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6550) UpdateMetadataRequest should be lazily created
Date Fri, 09 Feb 2018 11:49:00 GMT
huxihx created KAFKA-6550:

             Summary: UpdateMetadataRequest should be lazily created
                 Key: KAFKA-6550
                 URL: https://issues.apache.org/jira/browse/KAFKA-6550
             Project: Kafka
          Issue Type: Improvement
          Components: controller
    Affects Versions: 1.0.0
            Reporter: huxihx
            Assignee: huxihx

In ControllerBrokerRequestBatch.sendRequestsToBrokers, there is no need to eagerly construct
the UpdateMetadataRequest.Builder since sometimes updateMetadataRequestBrokerSet is actually
empty. In those cases, we should defer the construction to the time when we really need them.

This message was sent by Atlassian JIRA

View raw message