How Calinora Pilot plans and moves partitions between your Apache Kafka® brokers

Point Pilot at your bootstrap servers, with the client security settings you already use. Review a plan with the reason next to every move. Apply it, throttled and checked, when you choose. Planning is free; applying needs a license.

Calinora Pilot, partition rebalancing for Apache Kafka

One container. No agent required on your brokers.

  • orders.created, partition 3

    from broker 1 to broker 4

    Balance leader

  • payments.settled, partition 7

    from broker 2 to broker 5

    Balance follower

  • clickstream.pageviews, partition 12

    from broker 1 to broker 6

    Topic replica spread

Example moves, each with a reason Pilot gives.

How it works

1. Connect

Run one container with your bootstrap servers. Pilot never reads your messages to monitor: it works from cluster metadata, watermarks and log-dir sizes.

docker run -d \
  --name pilot \
  -p 8080:8080 \
  -e KAFKA_BOOTSTRAP_SERVERS=broker1:9092,broker2:9092,broker3:9092 \
  calinora/pilot:latest

Replace broker1:9092,broker2:9092,broker3:9092 with your own brokers, which must be reachable from the container. A TLS or SASL cluster also needs its client settings: Configuration. Pilot starts without sign-in. Publish the port only on your machine (-p 127.0.0.1:8080:8080) or set up sign-in before others can reach it. Then open http://localhost:8080.

No cluster at hand? Run a demo: two Apache Kafka brokers in racks A and B, each with a Pilot Agent, plus topics with light traffic, consumer groups, quotas and example ACLs:

macOS / Linux
curl -fsSLO https://www.calinora.io/pilot-demo.yaml && docker compose -f pilot-demo.yaml up
Windows (PowerShell)
curl.exe -fsSLO https://www.calinora.io/pilot-demo.yaml; docker compose -f pilot-demo.yaml up

Then open http://localhost:8080. After a few minutes, Pilot shows its plan. Select Start demo in Pilot, and for 24 hours you can apply plans on this demo cluster. For businesses only, to evaluate Pilot, not for production.

The demo listens on localhost only and has no sign-in. Use of Pilot is subject to the Calinora Terms.

2. Review the plan (free)

Pilot compares every broker with its fair share of observed load: leaders, replicas, disk, produce and consume rates. By default, when a broker stays more than 10% from its fair share, the plan evens it to within 5%. A new, empty broker is filled in one plan.

When a broker cannot get closer, Pilot says so, with the cause and what would help.

Plans that even out your brokers are rack-aware by default: Pilot never plans more replicas of a partition into one rack than your layout allows. Plans follow the cluster as it changes. Pilot keeps a plan while it holds and tells you when a newer one is available, so the plan you review is the plan that runs.

Preview the drain plan for free, with each partition's replication factor kept; it reports any partition that would lose rack spread.

3. Apply it (with a license)

Apply the plan in the UI or through the REST API. When you apply a plan or start a drain, Pilot checks the cluster first and stops at a hard-health blocker: no controller, an unreachable controller, a majority of brokers unavailable, or a sustained ISR shrink. No operator can override one. Pilot checks min.insync.replicas once more as the plan is applied.

  • Pilot sets a replication throttle before the first move and clears it after (on by default, at 50 MB/s).
  • A drain keeps each partition's replication factor. A forced drain can lower it (audited), but never below min.insync.replicas.
  • Cancel stops the remaining work, through Kafka's own cancel.
  • Pilot records each change request in a Kafka topic you own: action, result, and the user when sign-in is on.

What if we lose rack B?

Simulate losing a broker or a rack, without touching Kafka. Free.

Partition leaders per broker
BrokerRackIn the simulationLeaders nowLeaders without rack B (simulated)
Broker 1AAvailable4971,009
Broker 2BLost with rack B4500
Broker 3CAvailable499719
Broker 4AAvailable450667
Broker 5BLost with rack B4990
Broker 6CAvailable449449

Leaders per broker, now and with rack B lost. Brokers 2 and 5 are struck; broker 6 keeps its 449 leaders.

In the simulation, rack B takes brokers 2 and 5 with it: 4 of 6 brokers stay available.

  • 0 partitions offline.
  • 0 topics blocked for producers. Every topic stays writable: the in-sync replicas left still satisfy min.insync.replicas.
  • 2,844 partitions under-replicated. Redundancy is reduced, and another failure could cause data loss.
  • Leaders move to brokers 1, 3 and 4.

Features

Planning and watching the cluster are free; moving partitions needs a license.

Plan

  • Plans with the reason next to every move, the current and proposed placement, and the projected balance. Free
  • What-if for broker loss, rack loss, added brokers, replication-factor changes and traffic changes. Free
  • Previews of a broker drain, and of a topic or partition redistribution. Free

Move

  • Apply plans. Licensed
  • Drain one or more brokers for maintenance or removal. Licensed
  • Redistribute a topic or a partition. Licensed
  • Change the throttle and the number of concurrent moves while moves run. Reading both is free. Licensed
  • Cancel running moves that Pilot started. Cancelling never needs a license. Free
  • Bulk partition reassignment, including its preview. Licensed

Watch the cluster

  • Cluster health: broker availability, offline and under-replicated partitions, and rack findings. Free
  • Broker load: leaders, replicas, disk, produce and consume rates. Free
  • Consumer groups: state, members, partition lag and lag trend. Resetting offsets needs a license. Free / Licensed
  • Message browser with key and value filters, seek by offset or timestamp, and live tail. It reads messages only when you open it. Free
  • Prometheus /metrics with pilot_* families for cluster health, activity, consumer lag, plans and reassignments. Free
  • Reassignment tracking: queued, active, completed, failed and cancelled. Free

Access and records

  • Sign-in with Entra ID, Google, GitHub or any OIDC provider. Free
  • Revocable personal access tokens with read or write scope. Free
  • Audit history: reading it is free; reversals need a license. Free / Licensed

More in the docs: the AI assistant and MCP server, the optional Pilot Agent, and opt-in scheduled repairs.

What Pilot changes on your cluster

  • By default, Pilot moves partitions only when someone applies a plan or starts a drain; scheduled repairs are off unless you turn them on. MCP clients can only read until you turn on MCP write access.
  • Up to four topics of its own: broker state, the audit log, the cluster conditions, and access tokens when you turn tokens on. High Availability mode adds a fifth: its operation journal.
  • Replication throttles. With PILOT_THROTTLE_MANAGED=true, the default, Pilot sets a replication throttle for its own moves and removes only the throttles it set. Throttles another tool or a person set stay as they are. After a standalone restart, Pilot keeps the throttles it finds while Kafka lists reassignments in progress, so those moves stay throttled. Once Kafka lists none, it removes the ones an earlier run of Pilot set. If another tool manages your throttles, set PILOT_THROTTLE_MANAGED=false: Pilot then sets none, its moves run under the throttles you set, and in standalone mode it marks its plans unsafe to apply, so applying one needs a forced apply.
  • After its own moves, Pilot elects preferred leaders, and it cancels a move of its own that can no longer finish. Full list: Automatic actions in the docs.
  • No telemetry, usage statistics or crash reports.
  • Two optional calls to Calinora, both off unless you configure them: license auto-fetch and agent binary downloads. The demo stack turns on the agent binary download.

Requirements and compatibility

  • Supported: Apache Kafka, Confluent Platform, Strimzi, Cloudera, and Amazon MSK (provisioned clusters with SASL/SCRAM or mTLS; not IAM sign-in, not MSK Serverless).
  • Apache Kafka security: PLAINTEXT, TLS encryption, mTLS with client certificates, SASL/PLAIN, SASL/SCRAM (SCRAM-SHA-256 and SCRAM-SHA-512), SASL/OAUTHBEARER (OAuth client credentials) and Kerberos (GSSAPI), with client-side settings only.
  • How it runs: one container, with Docker or Docker Compose, or on Kubernetes with the Helm chart. On Kubernetes, High Availability mode keeps standby replicas; it needs Apache Kafka 3.6 or later in KRaft mode (requirements in the docs).
  • Architectures: amd64 and arm64.
  • Size: a ~13 MB download from Docker Hub.
  • Storage: Kafka topics, no external database.

Free: Pilot tells you what to move. Licensed: Pilot moves it safely.

Free, with unlimited viewers and clusters: monitoring, plans, what-if, and previews of a broker drain or a topic or partition redistribution.

Licensed: applying plans and other changes, starting a drain or applying a redistribution, and bulk partition reassignment, including its preview. Per broker, monthly or yearly, in graduated tiers, with no per-seat pricing: €119 per broker per month for the first 9 brokers, excl. VAT. Enterprise terms are available from 25 brokers and required above 50.

Monitoring, plans and cancelling running moves keep working without a license. The license validates offline.

Every licensed feature for 30 days. For businesses only, for non-production use. Name and email only.

See pricing

Talk to us

Messages go to Julian Bergner, who builds and supports Pilot. Ask about Enterprise terms, invoicing or a technical question about running Pilot on your cluster.

We use your details only to answer your message. See the privacy policy.

Email: [email protected].