Skip to Content
ReferenceLicensing

Licensing

Pilot operates in two modes:

  • Monitoring mode (free) - cluster overview, health monitoring, consumer groups, Prometheus metrics, the API’s read endpoints, rebalancing proposals, what-if simulation, and previews of broker drains and partition redistributions. Cancelling partition moves and rolling restarts is free too.
  • Management mode (licensed) - changes to the cluster: applying proposals and other partition moves, leader elections, broker maintenance, rolling restarts, self-healing, and changes to topic configs, quotas, ACLs and consumer groups.

In both modes, Pilot performs a few automatic actions on your cluster.

Use of Pilot, also without a license, is subject to the Calinora Terms .

License Format

A license is a signed token (JWT). Pilot validates it offline. An internet connection is only needed for automatic license fetching.

Configuration

VariableDefaultDescription
LICENSE_STRING""JWT license token
LICENSE_FETCH_SUBSCRIPTION_ID""Subscription ID for auto-fetch
LICENSE_FETCH_TOKEN""Per-customer fetch token
LICENSE_FETCH_URLhttps://license.calinora.io/api/license/fetchLicense fetch endpoint
LICENSE_FETCH_INTERVAL1hAuto-fetch interval

Automatic Fetching

When LICENSE_FETCH_SUBSCRIPTION_ID and LICENSE_FETCH_TOKEN are set, Pilot fetches a fresh license automatically at the configured interval. This is the recommended approach for Standard and Enterprise customers.

Manual Configuration

Set LICENSE_STRING directly with the JWT token:

# docker-compose.yml environment: LICENSE_STRING: "${LICENSE_STRING:-}"

Manual Fetch

For environments without outbound internet, fetch the license externally and provide it via LICENSE_STRING:

curl -X POST "https://license.calinora.io/api/license/fetch" \ -H "Authorization: Bearer <FETCH_TOKEN>" \ -H "Content-Type: application/json" \ -d '{"subscription_id":"sub_123"}'

Demo License

The public demo compose file, pilot-demo.yaml , can carry a demo license for evaluation. It unlocks the licensed actions, such as applying proposals, within three limits:

  • Cluster - it works only on the demo cluster that pilot-demo.yaml creates.
  • Brokers - at most 2 brokers.
  • Period - 24 hours from the moment you start it. Restarting Pilot does not restart the period.

A demo license is for evaluation only, not for production. Its use is Free Use under the Calinora Terms .

Starting the Demo

A demo license unlocks nothing until a user starts it. Starting it accepts the Calinora Terms and confirms that you use Pilot for your business. Start it in one of two ways:

  • In the Pilot UI, select Start demo in one of two places: on the condition The license has not been started., after expanding its row in the conditions panel or on the Conditions page, or under About in the sidebar. In the dialog, accept the Calinora Terms and confirm that you use Pilot for your business, then select Start demo.
  • With the API, for example from a script. Sending "acceptTerms": true accepts the Calinora Terms and confirms that you use Pilot for your business:
curl -s -X POST http://localhost:8080/api/v1/license/demo/start \ -H "Content-Type: application/json" \ -d '{"acceptTerms": true}' | jq '.'

Starting a demo that already runs changes nothing. With authentication enabled, the request needs the same authentication as other changes. The start is recorded in the audit log.

Demo licenses work in standalone mode only.

Demo License Status

GET /api/v1/license reports a demo license with "plan": "demo". Before the start its state is invalid. start_required: true means you can start it now. Otherwise reason says why not, for example a different cluster, too many brokers or HA mode. After the period its state is expired.

The UI offers Start demo only while start_required is true. In the other cases About gives the reason.

When the Demo Ends

When the period ends, Pilot returns to monitoring mode. See On Expiry.

Network Requirements

Pilot connects to Calinora only in two cases, and sends no telemetry:

  • Automatic license fetching needs outbound HTTPS (port 443) to license.calinora.io. It is on only when both LICENSE_FETCH_SUBSCRIPTION_ID and LICENSE_FETCH_TOKEN are set; leave either unset to turn it off, and set the key with LICENSE_STRING.
  • Pilot Agent binaries. With PILOT_AGENT_ENABLED=true, Pilot downloads the agent binaries from downloads.calinora.io (PILOT_AGENT_DOWNLOAD_URL) at startup. Set PILOT_AGENT_BINARY_DIR to a local directory to turn the download off; see Corporate Proxy / Air-Gapped.

API

Check License Status

GET /api/v1/license

Response:

{ "success": true, "data": { "state": "licensed", "expires_at": "2026-01-15T00:00:00Z", "lic": "abc123-def456", "sub": "CustomerName" } }

Possible state values: licensed, expired, invalid. Trial and demo licenses report licensed, with plan set to trial or demo.

Quick test:

curl -s http://localhost:8080/api/v1/license | jq '.'

License Enforcement

Endpoints that change the cluster need a valid license:

  • Licensed endpoints return 403 Forbidden with a structured JSON error unless the license state is licensed.
  • Free endpoints (GET requests, proposal generation, what-if simulation) stay accessible in every license state.
  • Previews are free. Drain and redistribution requests with "preview": true return the plan without a license. Starting the moves needs one. Bulk reassignment previews need a license.
  • Cancels are free. Cancelling a partition move or a rolling restart needs no license, and neither does dismissing the outcome of a failed or cancelled rolling restart. Authentication still applies.

For what is free and what needs a license, see the pricing page . The License column in the API reference marks each endpoint.

License State in the UI

The UI shows the license state in two places and in no banner:

  • As a cluster condition in the License group of the conditions panel: an expired or invalid license is a warning; a missing license, a trial license and a demo license that has not been started are info.
  • Under About in the sidebar, with the license holder, the expiry date and what the state means for changes.

On Proposals, a missing, expired, invalid or not yet started license disables Review and apply. The line at the button shows the license condition’s sentence with View condition; see Qualifiers and the Plan Gate.

When the browser cannot read the license status, About shows License unavailable. The UI does not treat a status it could not read as invalid: Pilot checks the license on each change.

On Expiry

When the license expires or is missing, Pilot returns to monitoring mode:

  • Monitoring, proposals and metrics keep running, and so do the automatic actions.
  • New changes are refused. Self-healing skips its runs with the reason license_invalid.
  • A running data movement, such as a rebalance, drain or redistribution, sends no new moves. Moves that Kafka already has finish. The run waits until a valid license returns or you cancel it. In standalone mode the replication throttle stays on the brokers while the run waits.
  • A rolling restart that already started runs to its end.
  • Cancelling a data movement or a rolling restart needs no license.

To renew: with automatic fetching, the new license takes effect at the next fetch, without a restart. With LICENSE_STRING, update the value and restart Pilot.

Automatic Actions

Pilot performs these actions on your cluster without a request, also without a valid license. The Calinora Terms  call them Automatic Actions.

ActionModeTurn off
Create its own topics if they are missing: __pilot_broker_state, the audit topic, __pilot_conditions, __pilot_pat_tokens (with personal access tokens) and __pilot_operations (HA mode). Standalone Pilot also sets their cleanup policy and the audit topic’s retention at every start. In both modes Pilot sets the cleanup policy, retention and segment time of __pilot_conditionsBothAUDIT_ENABLED=false for the audit topic (standalone only)
Write its own records to these topics: broker state, throttle records, token use, audit events, cluster conditions and, in HA mode, its journalBoth-
Remove the replication throttles it set once its moves no longer need them. It leaves throttles it did not setBothPILOT_THROTTLE_MANAGED=false (in HA mode the next operation still removes what earlier ones left)
Elect preferred leaders after its own partition moves, and correct the replica order of those movesBoth-
Cancel its own partition move that makes no progress towards a broker that is gone. Standalone Pilot also cancels a leftover move that no execution drives any moreBoth-
Cancel a self-healing run when its time window closes. Standalone Pilot cancels every move it runs at that momentBothSelf-healing is off by default
Continue the operations users started, from its journal, after a failoverHA-
Renew its Kubernetes Lease and update the installation’s EndpointSlice and binding ConfigMapHA-
Renew the certificates of Pilot AgentsBothOff unless PILOT_AGENT_ENABLED=true

Give AUDIT_TOPIC a topic of its own: standalone Pilot sets its cleanup policy and retention at every start.

Operations a user started, such as a rolling restart, keep running as On Expiry describes. Self-healing applies changes only with a valid license.

High Availability

HA mode needs no license of its own. The same actions are free and licensed as in standalone mode. Demo licenses do not work in HA mode.

Each replica loads the license from its own settings:

  • Give every replica the same license settings, for example from one Secret.
  • With automatic fetching, every replica needs outbound HTTPS access to license.calinora.io.
  • With automatic fetching only, a replica that becomes active refuses licensed changes until its first fetch succeeds. Set a valid LICENSE_STRING as well to avoid this gap.
  • After changing LICENSE_STRING, restart the replicas. Remove a LICENSE_STRING that fails verification: it turns automatic fetching off.
  • GET /api/v1/license and the license metrics show the license of the active replica.

When the license expires, running work behaves as in On Expiry. See also Supported actions.

Prometheus Metrics

MetricDescription
pilot_license_valid1 if licensed, 0 if expired/invalid
pilot_license_expiry_timestamp_secondsUnix timestamp of license expiry
pilot_license_fetch_totalAuto-fetch attempts by result

Alert when license expires within 7 days:

pilot_license_expiry_timestamp_seconds - time() < 7 * 24 * 3600
Last updated on