get_kafka
Retrieve Kafka connection details: internal and external bootstraps, SASL credentials, consumer-group prefix, current topics, and usage limits. Provisions tenancy on first call.
Instructions
Get the user's Kafka connection details and topics. BasicDeploy gives every account a Kafka broker (SASL/SCRAM, SCRAM-SHA-256) shared by all their containers. Returns the internal bootstrap (preset as KAFKA_BOOTSTRAP inside containers), the external bootstrap (for outside clients), the SASL username/password, the mandatory consumer-group id prefix (group ids MUST start with it), the current topics, usage and the plan limits. Provisions the tenancy on first call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limits | No | ||
| topics | No | ||
| enabled | Yes | Whether Kafka is available on this deployment. | |
| password | No | SASL/SCRAM password. | |
| username | No | SASL/SCRAM username. | |
| bootstrap | No | In-container bootstrap (preset as KAFKA_BOOTSTRAP). | |
| usedBytes | No | Reserved storage used across topics. | |
| groupPrefix | No | Required prefix for topic and consumer-group ids. | |
| saslMechanism | No | ||
| securityProtocol | No | ||
| externalBootstrap | No | Public bootstrap for outside clients. |