v3

latestOpenAPI 3.0.12026-07-314655871.8 MB
Service:_Kafka

List kafka topic messages

post/project/{project}/service/{service_name}/kafka/rest/topics/{topic_name}/messages

Path parameters

projectstring required

Project name

service_namestring required

Service name

topic_namestring required

Kafka topic name

Request body

format'binary' | 'json' | 'avro' | 'protobuf' | 'jsonschema'

The format of consumed messages, which is used to convert messages into a JSON-compatible form. If unspecified, defaults to binary

max_bytesinteger

The maximum number of bytes of unencoded keys and values that should be included in the response. This provides approximate control over the size of responses and the amount of memory required to store the decoded response. The actual limit will be the minimum of this setting and the server-side configuration consumer.request.max.bytes. Default is unlimited

partitionsobject required

Object of desired partition / offset mappings

timeoutinteger

The maximum total time to wait for messages for a request if the maximum request size has not yet been reached

Response

Response

messagestring

Printable result of the request