Consumers
POST /consumers/{groupid}
Changed onCreates a consumer instance in the given consumer group. You can optionally specify a consumer name and supported configuration options. It returns a base URI which must be used to construct URLs for subsequent requests against this consumer instance.
Request
- The document declares no server URL.
- Authnone declared
Request body
Example request
{
"name": "consumer1",
"format": "binary",
"auto.offset.reset": "earliest",
"enable.auto.commit": false,
"fetch.min.bytes": 512,
"consumer.request.timeout.ms": 30000,
"isolation.level": "read_committed"
}Response
Consumer created successfully.
Example response
{
"instance_id": "my-consumer",
"base_uri": "http://localhost:8080/consumers/my-group/instances/my-consumer"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the new optional request property
- info