# Configuration model (/connectors/cloudevents/concepts/configuration-model)



The CloudEvents connector is configured through the `Connectors.CE` section of the
KubeMQ server config. It is **enabled by default** and ships with sensible
production defaults, so most deployments only override a value when they need a
larger SSE buffer or a hard cap on concurrent subscriptions. This page explains the
enable model and how config keys map to environment variable names — for the full
field list, validation rules, and TOML/Env/Docker examples, see the
[full field reference](../reference/configuration).

## Enabled by default [#enabled-by-default]

The CloudEvents connector is **on as soon as kubemq-server starts** — the `/ce/*`
routes on the [shared HTTP server](/connectors/concepts/shared-http-server) are live
with no flag to set. You never enable it with `=true`; you only set its enable
variable to `false` to turn it **off**.

<RunKubeMQ variant="disable" ports="[8080, 9090, 50000]" env="{ CONNECTORSCE_ENABLE: 'false' }" />

<Callout type="warn">
  **The enable variable is `CONNECTORSCE_ENABLE` — with no underscore between
  `CONNECTORS` and `CE`.** Older KubeMQ docs and the configuration reference list
  `CONNECTORS_CE_ENABLE` (with an underscore), which **does not bind** to the
  `Connectors.CE.Enable` field and is silently ignored. The correct name is derived
  from the server's env-var transform — see
  [Environment variable names](#environment-variable-names) below and the
  [shared HTTP server enable model](/connectors/concepts/shared-http-server#enable-model-on-by-default).
</Callout>

## Environment variable names [#environment-variable-names]

KubeMQ derives each environment variable from its dotted config key by inserting
underscores at word boundaries, dropping the dots, and upper-casing. Acronyms with
no lowercase boundary (like `CE`) stay joined to the preceding segment — which is
why the enable variable is `CONNECTORSCE_ENABLE` and **not**
`CONNECTORS_CE_ENABLE`.

The full config key to environment variable mapping table is in the
[configuration reference](../reference/configuration#environment-variable-names).

<Callout type="info">
  The CloudEvents connector shares the HTTP server's port (`9090`), body limit, CORS,
  and TLS settings. Those are configured under `Connectors.Http` and documented once
  in [Shared HTTP server](/connectors/concepts/shared-http-server) — not repeated here.
</Callout>
