Pledge requires a Kafka-compatible broker. We recommend Redpanda. Install the broker independently or obtain an endpoint from a managed Kafka provider. Pledge does not need to own the broker lifecycle.
Choose a provider
For self-managed Redpanda, use the official Kubernetes production guide and its upstream Helm chart. For Redpanda Cloud, provision a cluster and follow Kafka API authentication. Keep broker installation and upgrades in a separate release from Pledge.
Other Kafka providers must satisfy the contract below. Protocol compatibility alone does not establish that a particular plan supports transactions, retention, or the required administrative APIs.
Broker contract
- TLS connectivity to the bootstrap endpoint and every broker address advertised in metadata.
- Transactional producers, producer fencing, and committed-record reads.
- Consumer groups and the metadata/configuration APIs used at startup.
- Sufficient topic and partition capacity for the release’s complete topic inventory.
- Durable history: no forced expiration or compaction of Pledge’s retained streams.
- Authentication using the mechanism Pledge is configured to use. The runtime supports SCRAM-SHA-256 and SCRAM-SHA-512 over TLS; do not choose a provider’s OAuth-only listener for that configuration.
Provide broker credentials in the secret store with fields username, password, and mechanism. The chart reads the store path named by kafka.external.secretPath into the Kafka credentials Secret.
Helm connection settings
kafka:
mode: external
replicationFactor: 3
eventsPartitions: 12
external:
endpoint: kafka.example.com
secretPath: kafka-credentials
ports: [9092]
Replace the host and port list with your environment. Select the partition count before creating topics; 12 illustrates the configuration shape, not a sizing recommendation.
Use the provider’s bootstrap endpoint, listener port, and TLS trust chain. Permit connections to every broker address advertised in metadata, and verify that certificate names match the connection endpoints.
At process level, REDPANDA_BROKERS configures the bootstrap brokers directly. KAFKA_SASL_USERNAME, KAFKA_SASL_PASSWORD, and KAFKA_SASL_MECHANISM must be set together. Broker trust comes from TLS_CA_PATH; add the provider’s CA chain to the installation trust bundle.
Network reliability
Pledge is built to handle brief network interruptions and pick up processing when connections recover. A reliable network between Pledge and Kafka, and between Kafka’s servers, is still essential to keep claims moving.
Topic durability and partitioning
Pledge creates missing topics and checks existing topics at startup. Retained topics require retention.ms=-1, retention.bytes=-1, and cleanup.policy=delete: the broker never expires or compacts them on its own. Pledge archives every record of these topics to object storage as signed, hash-chained segments and trims the broker itself, never past what the archive has committed or what a declared reader has processed. The broker keeps a hot window above the archive (log.hot, 14 days by default), capped by a share of the broker volume (log.hotVolumePercent). A few reconstructible topics use seven-day time retention (604800000 milliseconds) instead. The release’s topic definition determines which class each topic belongs to.
The main fact log is claims.events.v1. Claim command topics share its partition count. Other streams include configuration, coverage, account registration, intake batches, output records, and document work. Do not provision only the fact topic.
Existing partition counts must match the release’s topic specification. Increasing kafka.eventsPartitions on an existing deployment does not migrate claim history. Scale worker replicas within the existing partition topology; treat repartitioning as a separate migration.
Permissions and acceptance checks
Provision identities and ACLs for the processes you deploy: topic reads, authorized writes, consumer-group access, transactional IDs, and topic/configuration inspection. If Pledge creates topics, allow that administrative operation; otherwise precreate every required topic with the exact release settings. A single worker process running several modules presents one broker credential, so its broker permissions must cover that selected set. Splitting identities requires separate process configuration.
Before accepting production traffic, verify startup succeeds, a synthetic claim progresses, a worker restart preserves its history, and no authorization or fencing errors remain. Broker availability alone is insufficient. Broker replication belongs to the provider’s operating plan. Because the log’s history is in Pledge’s archive, a lost broker cluster can be replaced by an empty one; the application recovery guide covers how Pledge resumes afterwards.