API reference
Producing messages
Creates a topic
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"message": "created"
}curl -L -X POST 'http://streams.token-project.eu:8080/streams/topics/topic' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer $TOKEN' \
--data-raw '{"topic_name": "example"}'Produces JSON messages to a topic
Headers
Name
Type
Description
Request Body
Name
Type
Description
Consuming messages
Creates a new consumer instance
Headers
Name
Type
Description
Request Body
Name
Type
Description
Subscribes the consumer to a topic
Headers
Name
Type
Description
Request Body
Name
Type
Description
Consumes messages from a topic
Headers
Name
Type
Description
Last updated