HOTFIX: Access apiversions data via method not field
Reviewers: Chia-Ping Tsai
@@ -918,8 +918,8 @@ public class NetworkClient implements KafkaClient {
apiVersions.update(node, nodeVersionInfo);
this.connectionStates.ready(node);
log.debug("Node {} has finalized features epoch: {}, finalized features: {}, supported features: {}, API versions: {}.",
- node, apiVersionsResponse.data.finalizedFeaturesEpoch(), apiVersionsResponse.data.finalizedFeatures(),
- apiVersionsResponse.data.supportedFeatures(), nodeVersionInfo);
+ node, apiVersionsResponse.data().finalizedFeaturesEpoch(), apiVersionsResponse.data().finalizedFeatures(),
+ apiVersionsResponse.data().supportedFeatures(), nodeVersionInfo);
}
/**
