dengziming commented on code in PR #11951:
URL: https://github.com/apache/kafka/pull/11951#discussion_r862365685
##########
core/src/main/scala/kafka/server/BrokerLifecycleManager.scala:
##########
@@ -333,7 +353,11 @@ class BrokerLifecycleManager(val config: KafkaConfig,
}
private def sendBrokerHeartbeat(): Unit = {
- val metadataOffset = _highestMetadataOffsetProvider()
+ val metadataOffset = if (readyToUnfence) {
Review Comment:
This would need us to bump MetadataVersion so I will wait for KIP-778 first.
--
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]