kafka_neu-1778570057504.zip-extract/kafka-4.2.0-src/clients/src/main/resources/common/message/BrokerRegistrationRequest.json

Path
kafka_neu-1778570057504.zip-extract/kafka-4.2.0-src/clients/src/main/resources/common/message/BrokerRegistrationRequest.json
Status
scanned
Type
file
Name
BrokerRegistrationRequest.json
Extension
.json
Programming language

      
    
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
3472 (3.4 KB)
MD5
b3d57198b5a76a88969e6f1e50097a67
SHA1
f85434df35d863e8ac44cbca3b41fac8ae8b44c1
SHA256
54d796f8562bc88e514b4be0f076be7c59f1b0f1cd1ae0d4212822a99e2aae68
SHA512

      
    
SHA1_git
8a9348596edf55004107bc2018d54d5939602266
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
BrokerRegistrationRequest.json | 3.4 KB |

// Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Version 1 adds Zk broker epoch to the request if the broker is migrating from Zk mode to KRaft mode. // Version 2 adds LogDirs for KIP-858 // Version 3 adds the PreviousBrokerEpoch for the KIP-966 // Version 4 fixes KAFKA-17011, which blocked SupportedFeatures.MinVersion in the response from being 0. { "apiKey":62, "type": "request", "listeners": ["controller"], "name": "BrokerRegistrationRequest", "validVersions": "0-4", "flexibleVersions": "0+", "fields": [ { "name": "BrokerId", "type": "int32", "versions": "0+", "entityType": "brokerId", "about": "The broker ID." }, { "name": "ClusterId", "type": "string", "versions": "0+", "about": "The cluster id of the broker process." }, { "name": "IncarnationId", "type": "uuid", "versions": "0+", "about": "The incarnation id of the broker process." }, { "name": "Listeners", "type": "[]Listener", "about": "The listeners of this broker.", "versions": "0+", "fields": [ { "name": "Name", "type": "string", "versions": "0+", "mapKey": true, "about": "The name of the endpoint." }, { "name": "Host", "type": "string", "versions": "0+", "about": "The hostname." }, { "name": "Port", "type": "uint16", "versions": "0+", "about": "The port." }, { "name": "SecurityProtocol", "type": "int16", "versions": "0+", "about": "The security protocol." } ] }, { "name": "Features", "type": "[]Feature", "about": "The features on this broker. Note: in v0-v3, features with MinSupportedVersion = 0 are omitted.", "versions": "0+", "fields": [ { "name": "Name", "type": "string", "versions": "0+", "mapKey": true, "about": "The feature name." }, { "name": "MinSupportedVersion", "type": "int16", "versions": "0+", "about": "The minimum supported feature level." }, { "name": "MaxSupportedVersion", "type": "int16", "versions": "0+", "about": "The maximum supported feature level." } ] }, { "name": "Rack", "type": "string", "versions": "0+", "nullableVersions": "0+", "about": "The rack which this broker is in." }, { "name": "IsMigratingZkBroker", "type": "bool", "versions": "1+", "default": "false", "about": "If the required configurations for ZK migration are present, this value is set to true." }, { "name": "LogDirs", "type": "[]uuid", "versions": "2+", "about": "Log directories configured in this broker which are available.", "ignorable": true }, { "name": "PreviousBrokerEpoch", "type": "int64", "versions": "3+", "default": "-1", "ignorable": true, "about": "The epoch before a clean shutdown." } ] }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
28.88
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 8 8