Build, edition and cluster providers of the server
const url = 'http://localhost:8080/api/v1/server';const options = {method: 'GET', headers: {cookie: 'brokerium_session=<brokerium_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/v1/server \ --cookie brokerium_session=<brokerium_session>Role: viewer. providers.docker tells whether the server offers Docker clusters (BROKERIUM_DOCKER_PROVIDER). Without them, creating a Docker cluster and operations that change the nodes of one answer 409 docker_unavailable with the same reason.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The server.
object
object
object
The server can create clusters of the provider and change their nodes.
Why the provider is unavailable, for example which condition of the Docker installation failed; empty when it is available.
The Kafka release of new clusters when bootstrap-cluster names none; the dashboard proposes it for new clusters and upgrades. Clusters whose settings record no version keep 4.3.1 for the nodes they add.
Example
{ "edition": "community", "defaultKafkaVersion": "4.4.0"}Error.
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}Apache®, Apache Kafka® and Kafka® are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. Brokerium is not affiliated with, endorsed by, or sponsored by the Apache Software Foundation.