Edition, Enterprise features and license
const url = 'http://localhost:8080/api/v1/license';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/license \ --cookie brokerium_session=<brokerium_session>Role: viewer. Lists the features of Brokerium Enterprise and whether the license covers them. license is null in Community builds and in Enterprise builds without a key.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The edition and the license.
object
object
The license covers the feature and is valid or in its grace period.
The license key in use. For a key that does not verify only state, source and error are set.
object
Feature ids, or * for all features.
Valid from notBefore until expiresAt, grace until graceEndsAt, then expired; invalid when the key does not verify or is not valid yet. Enterprise features work in valid and grace.
BROKERIUM_LICENSE, BROKERIUM_LICENSE_FILE or the key stored through this API.
Why the key cannot be used.
Example
{ "edition": "community", "features": [ { "id": "message-tools" } ], "license": { "state": "invalid", "source": "environment" }}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.