THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
{ "apiKey": 0, "type": "metadataRecordmetadata", "name": "BrokerRecord", "validVersions": "0", "fields": [ { "name": "BrokerId", "type": "int32", "versions": "0+", "about": "The broker id." }, { "name": "BrokerEpoch", "type": "int64", "versions": "0+", "about": "The broker epoch." }, { "name": "EndPoints", "type": "[]BrokerEndpoint", "versions": "0+", "about": "The endpoints that can be used to communicate with this broker.", "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": "int16", "versions": "0+", "about": "The port." }, { "name": "SecurityProtocol", "type": "int16", "versions": "0+", "about": "The security protocol." } ]}, { "name": "Rack", "type": "string", "versions": "0+", "nullableVersions": "0+", "about": "The broker rack." } ] } |
...
Code Block |
---|
{ "apiKey": 1, "type": "metadataRecordmetadata", "name": "TopicRecord", "validVersions": "0", "fields": [ { "name": "Name", "type": "string", "versions": "0+", "about": "The topic name." }, { "name": "TopicId", "type": "uuid", "versions": "0+", "about": "The unique ID of this topic." }, { "name": "Deleting", "type": "boolean", "versions": "0+", "about": "True if this topic is in the process of being deleted." } ] } |
...
Code Block |
---|
{ "apiKey": 2, "type": "metadataRecordmetadata", "name": "PartitionRecord", "validVersions": "0", "fields": [ { "name": "PartitionId", "type": "int32", "versions": "0+", "default": "-1", "about": "The partition id." }, { "name": "TopicId", "type": "uuid", "versions": "0+", "about": "The unique ID of this topic." }, { "name": "Replicas", "type": "[]int32", "versions": "0+", "about": "The replicas of this partition, sorted by preferred order." }, { "name": "Isr", "type": "[]int32", "versions": "0+", "about": "The in-sync replicas of this partition" }, { "name": "RemovingReplicas", "type": "[]int32", "versions": "0+", "about": "The replicas that we are in the process of removing." }, { "name": "AddingReplicas", "type": "[]int32", "versions": "0+", "about": "The replicas that we are in the process of adding." }, { "name": "Leader", "type": "int32", "versions": "0+", "default": "-1", "about": "The lead replica, or -1 if there is no leader." }, { "name": "LeaderEpoch", "type": "int32", "versions": "0+", "default": "-1", "about": "An epoch that gets incremented each time we change the ISR." } ] } |
...
Code Block |
---|
{ "apiKey": 3, "type": "metadataRecordmetadata", "name": "ConfigRecord", "validVersions": "0", "fields": [ { "name": "ResourceType", "type": "int8", "versions": "0+", "about": "The type of resource this configuration applies to." }, { "name": "ResourceName", "type": "string", "versions": "0+", "about": "The name of the resource this configuration applies to." }, { "name": "Name", "type": "string", "versions": "0+", "about": "The name of the configuration key." }, { "name": "Value", "type": "string", "versions": "0+", "about": "The value of the configuration." } ] } |
...
Code Block |
---|
{ "apiKey": 4, "type": "metadataRecordmetadata", "name": "IsrChangeRecord", "validVersions": "0", "fields": [ { "name": "PartitionId", "type": "int32", "versions": "0+", "default": "-1", "about": "The partition id." }, { "name": "TopicId", "type": "uuid", "versions": "0+", "about": "The unique ID of this topic." }, { "name": "Isr", "type": "[]int32", "versions": "0+", "about": "The in-sync replicas of this partition" }, { "name": "Leader", "type": "int32", "versions": "0+", "default": "-1", "about": "The lead replica, or -1 if there is no leader." }, { "name": "LeaderEpoch", "type": "int32", "versions": "0+", "default": "-1", "about": "An epoch that gets incremented each time we change the ISR." } ] } |
...
Code Block |
---|
{ "apiKey": 5, "type": "metadataRecordmetadata", "name": "AccessControlRecord", "validVersions": "0", "fields": [ { "name": "ResourceType", "type": "int8", "versions": "0+", "about": "The resource type" }, { "name": "ResourceName", "type": "string", "versions": "0+", "nullableVersions": "0+", "about": "The resource name, or null if this is for the default resource." }, { "name": "PatternType", "type": "int8", "versions": "0+", "about": "The pattern type (literal, prefixed, etc.)" }, { "name": "Principal", "type": "string", "versions": "0+", "about": "The principal name." }, { "name": "Host", "type": "string", "versions": "0+", "about": "The host." }, { "name": "Operation", "type": "int8", "versions": "0+", "about": "The operation type." }, { "name": "PermissionType", "type": "int8", "versions": "0+", "about": "The permission type (allow, deny)." } ] } |
DeleteBroker
Code Block |
---|
{
"apiKey": 6,
"type": "metadata",
"name": "DeleteBrokerRecord",
"validVersions": "0",
"fields": [
{ "name": "Id", "type": "int32", "versions": "0+",
"about": "The broker ID to delete. It will be removed from all ISRs." }
]
} |
DeleteTopic
Code Block |
---|
{
"apiKey": 7,
"type": "metadata",
"name": "DeleteTopicRecord",
"validVersions": "0",
"fields": [
{ "name": "Name", "type": "uuid", "versions": "0+",
"about": "The topic to delete. All associated partitions will be deleted as well." }
]
} |
New Metrics
Full Name | Description |
---|---|
kafka.controller:type=KafkaController,name=MetadataLag | The offset delta between the latest metadata record this controller has replayed and the last stable offset of the metadata topic. |
kafka.controller:type=KafkaServer,name=MetadataLag | The offset delta between the latest metadata record this broker has replayed and the last stable offset of the metadata topic. |
kafka.controller:type=KafkaController,name=MetadataCommitLatencyMs | The latency of committing a message to the metadata topic. Relevant on the active controller. |
kafka.controller:type=KafkaController,name=MetadataCommitRate | The number of metadata messages per second committed to the metadata topic. |
kafka.controller:type=KafkaController,name=MetadataSnapshotLag | The offset delta between the latest stable offset of the metadata topic and the offset of the last snapshot (or 0 if there are no snapshots) |
kafka.controller:type=KafkaController,name=ControllerRequestsRate | The number of controller requests per second processed. |
...