v3

latestOpenAPI 3.0.12026-07-314655871.8 MB
Service:_Kafka

Produce message into a kafka topic

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

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' required

The format of the content.

key_schemastring

Full schema encoded as a string (e.g. JSON serialized for Avro data)

key_schema_idinteger

ID returned by a previous request using the same schema. This ID corresponds to the ID of the schema in the registry.

value_schemastring

Full schema encoded as a string (e.g. JSON serialized for Avro data)

value_schema_idinteger

ID returned by a previous request using the same schema. This ID corresponds to the ID of the schema in the registry.

Response

Response

key_schema_idinteger

The ID for the schema used to produce keys, or null if keys were not used

messagestring

Printable result of the request

value_schema_idinteger

The ID for the schema used to produce values