DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| Code Block | ||
|---|---|---|
| ||
$ bin/kafka-mirrors.sh --bootstrap-server :9094 --list MIRROR TOPICS SOURCE-BOOTSTRAP my-mirror 2 localhost:9091 CLUSTER-ID BOOTSTRAP-SERVER my-mirror 2 lBq12jYZRp-9wF3M9MPopg localhost:9091,localhost:9092 new-mirror new-mirror 1 1 lBq12jYZRp-9wF3M9MPopg localhost:9091,localhost:9092 |
Describe configured mirrors to check their lag compared to their source topics:
...
| Code Block |
|---|
{
"apiKey": TBD,
"type": "response",
"name": "ListMirrorsResponse",
// Version 0 is the initial version.
"validVersions": "0",
"flexibleVersions": "0+",
"fields": [
{ "name": "ThrottleTimeMs", "type": "int32", "versions": "0+", "ignorable": true,
"about": "The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota." },
{ "name": "ErrorCode", "type": "int16", "versions": "0+",
"about": "The error code, or 0 if there was no error." },
{ "name": "Mirrors", "type": "[]ListedMirror", "versions": "0+",
"about": "Each mirror in the response.", "fields": [
{ "name": "MirrorName", "type": "string", "versions": "0+", "entityType": "mirrorName",
"about": "The cluster mirror name." },
{ "name": "SourceBootstrapTopicCount", "type": "stringint32", "versions": "0+", "default": "0",
"about": "The source cluster bootstrap servers number of topics configured for this mirror. 0 indicates an empty mirror with no topics." },
{ "name": "TopicCountClusterId", "type": "int32string", "versions": "0+",
"default "about": "0"The source cluster ID." },
{ "name": "BootstrapServer", "abouttype": "string"The number of topics configured for this mirror. 0 indicates an empty mirror with no topics, "versions": "0+",
"about": "The source cluster bootstrap servers." }
]}
]
} |
DescribeMirrors
...