Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,20 @@ The following runtime settings control connections to the Kafka broker:
| `Kafka.BootstrapServers` | One or more Kafka broker addresses. Supply a comma-separated list of `host:port` pairs, such as `broker1:9092,broker2:9092`. | Not set |
| `Kafka.Username` | The username for SCRAM-SHA-512 authentication over TLS. This setting is ignored when `Kafka.Security.Protocol` is set. | Not set |
| `Kafka.Password` | The password for SCRAM-SHA-512 authentication over TLS. This setting is ignored when `Kafka.Security.Protocol` is set. | Not set |
| `Kafka.Security.Protocol` | The [Kafka security protocol](https://kafka.apache.org/44/configuration/producer-configs/#producerconfigs_security.protocol) configured on your broker listener (introduced in Studio Pro 11.16.0.). The possible values are: <br><ul><li> `PLAINTEXT` (no authentication or encryption)</li><li> `SSL` (TLS) </li><li> `SASL_PLAINTEXT` (SASL authentication without encryption) </li><li> `SASL_SSL` (SASL authentication over TLS) </li> | Not set |
| `Kafka.Sasl.Mechanism` | The [SASL authentication mechanism](https://kafka.apache.org/44/configuration/producer-configs/#producerconfigs_sasl.mechanism) enabled on your broker listener (introduced in Studio Pro 11.16.0.). [Kafka's built-in mechanisms](https://kafka.apache.org/44/security/authentication-using-sasl/#sasl-mechanisms) requires `Kafka.Security.Protocol`. The built-in mechanisms are: <br><ul><li> `GSSAPI` (Kerberos) </li><li> `PLAIN` </li><li> `SCRAM-SHA-256` </li><li> `SCRAM-SHA-512` </li><li> `OAUTHBEARER` </li> | Not set |
| `Kafka.Sasl.Jaas.Config` | The [Kafka JAAS configuration](https://kafka.apache.org/44/configuration/producer-configs/#producerconfigs_sasl.jaas.config)(introduced in Studio Pro 11.16.0.). It contains the client login module and options for your SASL mechanism. Requires `Kafka.Security.Protocol`. | Not set |
| `Kafka.Security.Protocol` | The [Kafka security protocol](https://kafka.apache.org/44/configuration/producer-configs/#producerconfigs_security.protocol) configured on your broker listener (introduced in Studio Pro 11.12.10 and 11.16.0). The possible values are: <br><ul><li> `PLAINTEXT` (no authentication or encryption)</li><li> `SSL` (TLS) </li><li> `SASL_PLAINTEXT` (SASL authentication without encryption) </li><li> `SASL_SSL` (SASL authentication over TLS) </li> | Not set |
| `Kafka.Sasl.Mechanism` | The [SASL authentication mechanism](https://kafka.apache.org/44/configuration/producer-configs/#producerconfigs_sasl.mechanism) enabled on your broker listener (introduced in Studio Pro 11.12.10 and 11.16.0). Requires `Kafka.Security.Protocol`. [Kafka's built-in mechanisms](https://kafka.apache.org/44/security/authentication-using-sasl/#sasl-mechanisms) are: <br><ul><li> `GSSAPI` (Kerberos) </li><li> `PLAIN` </li><li> `SCRAM-SHA-256` </li><li> `SCRAM-SHA-512` </li><li> `OAUTHBEARER` </li> | Not set |
| `Kafka.Sasl.Jaas.Config` | The [Kafka JAAS configuration](https://kafka.apache.org/44/configuration/producer-configs/#producerconfigs_sasl.jaas.config) (introduced in Studio Pro 11.12.10 and 11.16.0). It contains the client login module and options for your SASL mechanism. Requires `Kafka.Security.Protocol`. | Not set |
| `EventBroker.Space` | The Event Broker space in which the app is placed. This defines which other applications can exchange events with this app. | `local` |

In Mendix Cloud environments with Mendix Event Broker enabled, the platform manages broker connection credentials. For BYOK deployments, configure the settings above through [custom runtime settings](/refguide/custom-settings/) in your environment.

### Running Locally {#local-configuration}

As of Studio Pro 11.16.0, Studio Pro provides a **Kafka** tab for simplified local configuration.
Studio Pro provides a **Kafka** tab for simplified local configuration. This tab can be found in the App Explorer under **Settings** > [Configurations](/refguide/configurations-tab/) > **Kafka**.

The **Kafka** tab can be found in the App Explorer under **Settings** > [Configurations](/refguide/configurations-tab/) > **Kafka**.
{{% alert type="info" %}}
The **Kafka** tab is available as of Studio Pro 11.16.0.
{{% /alert %}}

Use the following fields to connect to your broker:

Expand All @@ -85,13 +87,15 @@ Studio Pro supplies these three runtime settings from the **Kafka** tab. Do not

By default, supplying both `Kafka.Username` and `Kafka.Password` selects `SASL_SSL` with `SCRAM-SHA-512`. For Mendix Event Broker authentication, these credentials are sufficient.

As of Mendix 11.17.0, Studio Pro migrates `Kafka.BootstrapServers`, `Kafka.Username`, and `Kafka.Password` from **Custom** into empty **Kafka** fields.
For Studio Pro 11.15.0 and below, add `Kafka.BootstrapServers` and any authentication settings under **Custom** in the app [configuration](/refguide/configurations-tab/).

As of Studio Pro 11.17.0, Studio Pro migrates `Kafka.BootstrapServers`, `Kafka.Username`, and `Kafka.Password` from **Custom** into empty **Kafka** fields.

### Kafka Custom Authentication {#byok-configuration}

If your broker requires authentication other than SCRAM-SHA-512 over TLS, configure the protocol, SASL mechanism, and JAAS configuration below.

For local runs, keep the broker addresses in the **Kafka** tab and add the authentication settings under **Custom**.
For local runs, add the three authentication settings under **Custom**. Set the broker addresses as described in [Running Locally](#local-configuration).

For example, for a broker configured for SASL/PLAIN over TLS, use the following authentication settings by replacing the example credentials with your broker credentials:

Expand Down