Consumers
POST /consumers/{groupid}/instances/{name}/subscription
Changed onSubscribes a consumer to one or more topics. You can describe the topics to which the consumer will subscribe in a list (of Topics type) or as a topic_pattern field. Each call replaces the subscriptions for the subscriber.
Request
- The document declares no server URL.
- Authnone declared
Path parameters
groupidstring required
ID of the consumer group to which the subscribed consumer belongs.
namestring required
Name of the consumer to subscribe to topics.
Request body
Example request
{
"topics": [
"topic1",
"topic2"
]
}Response
Consumer subscribed successfully.
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- breaking
added the new path request parameter
groupid - breaking
added the new path request parameter
name
- breaking