mingyen066 opened a new pull request, #23362: URL: https://github.com/apache/kafka/pull/23362
As suggested in https://github.com/apache/kafka/pull/22721#discussion_r3918957218, this removes `AbstractKafkaConfig#quotaConfig()`. `QuotaConfig` only reads values that are already parsed, so creating it is cheap and we don't need to cache it. The two callers, `QuotaFactory` and `ConnectionQuotas`, now create their own `QuotaConfig`. This also gets rid of the lazy `volatile` field in `AbstractKafkaConfig`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
