Kafka clusters
Get latest Kafka topic message
GET
/kafka-clusters/{uuid}/topics/{topic}/latest-messageRetrieves the newest message from partition 0, including its contents. Results are not cached. Only available when the company allows reading Kafka messages.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request GET \
--url https://api.artie.com/kafka-clusters/{uuid}/topics/{topic}/latest-message \
--header 'Authorization: Bearer <token>'Path parameters
topicstringrequireduuidstringrequired
Responses
200OKapplication/json
headersRecord<string, string<base64>> | nullkeystring<base64> | nulloffsetinteger<int64>requiredpartitionintegerrequiredtimestampstring<date-time>requiredtopicstringrequiredvaluestring<base64> | null
204No Content
403Forbidden
404Not Found
500Internal Server Error
200 OK
{
"headers": {
"key": "<string>"
},
"key": "<string>",
"offset": 123,
"partition": 123,
"timestamp": "2023-11-07T05:31:56Z",
"topic": "<string>",
"value": "<string>"
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.