...
- Response
- 200 OK if the topic was deleted successfully
- 404 NOT FOUND if the topic is not present
Publish Message
Store Messages to Payload Table
- Request method and URI
POST [base_url]/topics/[topic]/store
{ "tx_write_ptr" : string, "messages" : { "type" : "array", "items" : "bytes" }}
- Request body
- Can be avro binary or JSON, based on the request - Content-Type: application/json or avro/binary
Schema Fields:
i) messages - Contains an array of byte arrays that correspond to messages
ii) tx_write_ptr - Corresponds to a transaction write pointer.
Store Messages to Payload Table
POST [base_url]/topics/[topic]/store
Request body should contain tx_write_ptr and messages
- Response :
404 NOT FOUND if the topic is not present
200 OK if message is persisted
...