Kafka clusters
List Kafka clusters
/kafka-clustersRetrieves the authenticated company's Managed Kafka clusters and, for a BYOC company with Kafka access enabled, the Kafka clusters on its own data plane.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request GET \
--url https://api.artie.com/kafka-clusters \
--header 'Authorization: Bearer <token>'Query parameters
includeDeletedboolean
Responses
200OKapplication/json
itemsobject[]requiredShow child attributes
cloudstringrequiredcreatedAtstring<date-time>requireddataKeptUntilstring<date-time>When a deleted Managed Kafka cluster's data is deleted for good. It can be restored until then. Only set while status is deleted.
deployStagestringThe step a Managed Kafka cluster's deploy is on. Only set while status is deploying, or failed, where it is the step the deploy stopped at.
disableTLSbooleanrequiredexternalBootstrapURLstringrequiredisManagedbooleanrequiredWhether this is a Managed Kafka cluster that Artie runs for the company.
localRetentionBytesinteger | nullDisk cap per partition: the most broker disk each partition of the cluster's tiered topics keeps, in bytes (log.local.retention.bytes). Missing when there is no cap.
localRetentionMSinteger | nullDays on disk: how long the cluster's tiered topics keep data on broker disks, in ms (log.local.retention.ms). Missing on clusters made before it, whose brokers use Kafka's default.
managedobjectA Managed Kafka cluster's configuration. Only set when isManaged, and only by Get a Kafka cluster.
Show child attributes
allowedCIDRsstring[]requiredClient IP ranges allowed to reach the cluster. Empty when any IP can connect.
brokerConfigsobject[]requiredThe broker config Artie sets on top of Kafka's defaults, sorted by name.
Show child attributes
namestringrequiredvaluestringrequired
brokerSettingsobjectrequiredThe broker settings customers can change.
Show child attributes
retentionMSinteger<int64>requiredHow long topics keep messages unless they set their own retention.ms, in ms (the brokers' log.retention.ms). -1 keeps them forever.
brokersintegerrequiredinstanceTypestringrequiredkafkaVersionstringrequiredpendingChangeobjectThe cluster's latest change that isn't applied yet. Missing once every change is applied, and while the cluster isn't active.
Show child attributes
fieldstringrequiredThe setting the change is to. The other fields already show its new value.
startedAtstring<date-time>requiredWhen the change was saved.
statestringrequiredApplying until the apply's time limit after the save has passed (15 minutes plus a broker roll per broker, plus 5 minutes), then failed: the apply failed or was lost. Saving the same value again retries it.
summarystringrequiredWhat the change does, as the Activity feed says it, such as "Grew broker storage from 50 GiB to 80 GiB".
storageGiBintegerrequiredDisk per broker in GiB.
namestringrequiredregionstringrequiredshuttingDownbooleanWhether a deleted Managed Kafka cluster is still being taken down. It can't be restored until that finishes. Only set in the clusters list.
statusstringrequiredstatusMessagestringWhy the last deploy of a Managed Kafka cluster failed. Only set while status is failed.
storageAutoscaleobjectA Managed Kafka cluster's storage autoscaling. Only set when isManaged.
Show child attributes
bumpAtPercentintegerrequiredHow full, in %, a broker's disk gets before every broker's disk grows. At most 99. Defaults to 65.
enabledbooleanrequiredWhether Artie grows the brokers' disks before they fill.
maxGiBinteger | nullThe most disk per broker, in GiB, a grow goes to. Null is no limit.
targetPercentintegerrequiredHow full, in %, the fullest broker's disk is after a grow. Less than bumpAtPercent. Defaults to 55.
tierAllTopicsbooleanrequiredWhether Artie turns tiered storage on for every topic of a Managed Kafka cluster that doesn't choose otherwise.
tieredStorageAvailablebooleanrequiredWhether tiered storage is available on this cluster. Artie turns it on once the cluster's brokers have tiered storage.
tieredStorageSyncedAtstring<date-time>When the sync last made a Managed Kafka cluster's topics match the tiered storage choice for each. Missing until its first run.
updatedAtstring<date-time>requiredWhen the cluster row last changed. A deploying cluster can be retried 20 minutes after this.
usesScrambooleanrequireduuidstring<uuid>required
500Internal Server Error
{
"items": [
{
"cloud": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"dataKeptUntil": "2023-11-07T05:31:56Z",
"deployStage": "applying_custom_resources",
"disableTLS": true,
"externalBootstrapURL": "<string>",
"isManaged": true,
"localRetentionBytes": 123,
"localRetentionMS": 123,
"managed": {
"allowedCIDRs": [
"<string>"
],
"brokerConfigs": [
{
"name": "<string>",
"value": "<string>"
}
],
"brokerSettings": {
"retentionMS": 123
},
"brokers": 123,
"instanceType": "<string>",
"kafkaVersion": "<string>",
"pendingChange": {
"field": "allowedCIDRs",
"startedAt": "2023-11-07T05:31:56Z",
"state": "applying",
"summary": "<string>"
},
"storageGiB": 123
},
"name": "<string>",
"region": "<string>",
"shuttingDown": true,
"status": "draft",
"statusMessage": "<string>",
"storageAutoscale": {
"bumpAtPercent": 1,
"enabled": true,
"maxGiB": 1,
"targetPercent": 1
},
"tierAllTopics": true,
"tieredStorageAvailable": true,
"tieredStorageSyncedAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"usesScram": true,
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.