URL Parameters
The ID of the Kafka topic
Response Parameters
Timestamp indicating when the measurement was taken.
Number of monthly messages in Kafka topic
Timestamp indicating when the measurement was taken.
Number of monthly messages produced in Kafka topic
Timestamp indicating when the measurement was taken.
Number of monthly messages consumed in Kafka topic
Timestamp indicating when the measurement was taken.
Total disk usage of the Kafka topic
Average storage size of the Kafka topic in the current month
Total number of monthly produced messages to the Kafka topic
Total number of monthly consumed messages from the Kafka topic
curl -X GET \
https://api.upstash.com/v2/kafka/stats/topic/:id \
-u 'EMAIL:API_KEY'
{
"throughput": [
{
"x": "2022-02-07 12:05:11",
"y": 0
}
...
],
"produce_throughput": [
{
"x": "2022-02-07 12:05:11",
"y": 0
}
...
],
"consume_throughput": [
{
"x": "2022-02-07 12:05:11",
"y": 0
}
...
],
"diskusage": [
{
"x": "2022-02-07 12:20:11",
"y": 0
}
...
],
"total_monthly_storage": 0,
"total_monthly_produce": 0,
"total_monthly_consume": 0
}