Directories
¶
| Path | Synopsis |
|---|---|
|
Package build_info exposes ldflag-injected build metadata (Version, Commit, Date) and small derived helpers (IsDev, DocsURL) that depend on it.
|
Package build_info exposes ldflag-injected build metadata (Version, Commit, Date) and small derived helpers (IsDev, DocsURL) that depend on it. |
|
Package logging provides a file-only slog sink for components that own rich, pre-formatted terminal output (e.g.
|
Package logging provides a file-only slog sink for components that own rich, pre-formatted terminal output (e.g. |
|
Package manifest defines the migration manifest (migration.yaml) schema and a strict parser.
|
Package manifest defines the migration manifest (migration.yaml) schema and a strict parser. |
|
schemagen
Package schemagen generates the migration.yaml and gateway-migration.yaml JSON Schemas from the manifest Go structs.
|
Package schemagen generates the migration.yaml and gateway-migration.yaml JSON Schemas from the manifest Go structs. |
|
schemagen/gen
command
Command gen writes the committed JSON Schemas.
|
Command gen writes the committed JSON Schemas. |
|
Package migrate wires the manifest, source, target, and reconcile engine together for `kcp migration resources create`.
|
Package migrate wires the manifest, source, target, and reconcile engine together for `kcp migration resources create`. |
|
acls
Package acls implements the source-read stage of the native-ACL migration plane: flattening sarama's ACL listing into the canonical types.Acls tuple and reading the MSK "allow.everyone.if.no.acl.found" server property.
|
Package acls implements the source-read stage of the native-ACL migration plane: flattening sarama's ACL listing into the canonical types.Acls tuple and reading the MSK "allow.everyone.if.no.acl.found" server property. |
|
clusterlink
Package clusterlink implements the cluster-link Reconciler: it reconciles the desired link (derived from the live source + manifest) against the actual link on the target, additively (§8.2, §8.6).
|
Package clusterlink implements the cluster-link Reconciler: it reconciles the desired link (derived from the live source + manifest) against the actual link on the target, additively (§8.2, §8.6). |
|
mirrortopics
Package mirrortopics reconciles spec.topics (mode: mirror): it creates a mirror topic on the cluster link for each selected source topic that is not already mirrored.
|
Package mirrortopics reconciles spec.topics (mode: mirror): it creates a mirror topic on the cluster link for each selected source topic that is not already mirrored. |
|
newtopics
Package newtopics reconciles spec.topics (mode: new): it creates a plain topic on the target for each selected source topic, reproducing partition count, RF, and all explicitly-set (non-default) configs.
|
Package newtopics reconciles spec.topics (mode: new): it creates a plain topic on the target for each selected source topic, reproducing partition count, RF, and all explicitly-set (non-default) configs. |
|
serviceaccounts
Package serviceaccounts derives Confluent Cloud service-account display names from source Kafka principals.
|
Package serviceaccounts derives Confluent Cloud service-account display names from source Kafka principals. |
|
topicselect
Package topicselect resolves a desired topic set from a live source topic list using glob include/exclude patterns.
|
Package topicselect resolves a desired topic set from a live source topic list using glob include/exclude patterns. |
|
Package redact removes sensitive values from connector configurations before they are persisted to the state file or written to logs.
|
Package redact removes sensitive values from connector configurations before they are persisted to the state file or written to logs. |
|
Package regexanchor compiles a user-supplied regular expression to an anchored full-match, safely.
|
Package regexanchor compiles a user-supplied regular expression to an anchored full-match, safely. |
|
Package retry calls an operation again when it fails on a connection-level error, waiting longer each time, until it succeeds, fails some other way, runs out of budget, or its context ends.
|
Package retry calls an operation again when it fails on a connection-level error, waiting longer each time, until it succeeds, fails some other way, runs out of budget, or its context ends. |
|
retrytest
Package retrytest shortens the retry schedule for one test, so a test that drives a retry does not wait the production backoff.
|
Package retrytest shortens the retry schedule for one test, so a test that drives a retry does not wait the production backoff. |
|
services
|
|
|
groupoffsets
Package groupoffsets reads consumer groups' committed offsets from a source cluster, detects commits that land after a fence, validates the offsets against a destination cluster's high-water marks, and writes them to the destination.
|
Package groupoffsets reads consumer groups' committed offsets from a source cluster, detects commits that land after a fence, validates the offsets against a destination cluster's high-water marks, and writes them to the destination. |
|
hcl/confluent
Package confluent: topic.go generates Terraform for plain Confluent Cloud topics (used by `kcp iac topics generate --mode new`).
|
Package confluent: topic.go generates Terraform for plain Confluent Cloud topics (used by `kcp iac topics generate --mode new`). |
|
iampolicy
Package iampolicy renders AWS IAM policy documentation for commands that have multiple variants (e.g.
|
Package iampolicy renders AWS IAM policy documentation for commands that have multiple variants (e.g. |
|
migplan
Package providers holds the live implementations of the migplan provider interfaces, wrapping existing KCP clients and, for the prototype, static files.
|
Package providers holds the live implementations of the migplan provider interfaces, wrapping existing KCP clients and, for the prototype, static files. |
|
migplan/reconcile
Package reconcile is the pure reconciliation core for topic-based migrations.
|
Package reconcile is the pure reconciliation core for topic-based migrations. |
|
migration/d2s
Package d2s implements the FSM-driven orchestrator for a dynamic-to-static route conversion (spec.dynamicToStaticConversion): fence the dynamic route, re-check the conversion on post-fence data, copy the in-scope consumer groups' committed offsets to the destination, and switch the route to static.
|
Package d2s implements the FSM-driven orchestrator for a dynamic-to-static route conversion (spec.dynamicToStaticConversion): fence the dynamic route, re-check the conversion on post-fence data, copy the in-scope consumer groups' committed offsets to the destination, and switch the route to static. |
|
migration/killpoint
Package killpoint holds the migration FSMs' two test-only seams.
|
Package killpoint holds the migration FSMs' two test-only seams. |
|
migration/tbm
Package tbm implements the FSM-driven orchestrator for the Topic-Batch Migration (TBM) workflow.
|
Package tbm implements the FSM-driven orchestrator for the Topic-Batch Migration (TBM) workflow. |
|
plan/engine
Package engine is the decision core behind `kcp report plan`: it turns a source cluster's migration-relevant facts into the target recommendations (size band, cluster type, networking, auth, switchover, and the human-assist handoffs).
|
Package engine is the decision core behind `kcp report plan`: it turns a source cluster's migration-relevant facts into the target recommendations (size band, cluster type, networking, auth, switchover, and the human-assist handoffs). |
|
reconcile
Package reconcile implements the generic desired-state reconcile loop (feasibility §8.4): for each Reconciler, check preconditions, compute the plan (desired vs actual), and either preview it (dry-run) or apply it additively.
|
Package reconcile implements the generic desired-state reconcile loop (feasibility §8.4): for each Reconciler, check preconditions, compute the plan (desired vs actual), and either preview it (dry-run) or apply it additively. |
|
state
|
|
|
Package targets is the Target abstraction (feasibility §7.4): Confluent Cloud and Confluent Platform implementations behind a common set of operations.
|
Package targets is the Target abstraction (feasibility §7.4): Confluent Cloud and Confluent Platform implementations behind a common set of operations. |
|
Package testsupport holds small helpers shared by test files across packages.
|
Package testsupport holds small helpers shared by test files across packages. |
|
Package tracing sets up OpenTelemetry tracing for kcp: where spans go, the root span of each command, and the helpers instrumented code uses to open, close and annotate spans.
|
Package tracing sets up OpenTelemetry tracing for kcp: where spans go, the root span of each command, and the helpers instrumented code uses to open, close and annotate spans. |
|
tracingtest
Package tracingtest installs an in-memory span recorder as the global tracer provider for one test, and helps assert on what was recorded.
|
Package tracingtest installs an in-memory span recorder as the global tracer provider for one test, and helps assert on what was recorded. |
|
Package yamlsafe holds the one YAML-error rule every secret-bearing decode in kcp must apply.
|
Package yamlsafe holds the one YAML-error rule every secret-bearing decode in kcp must apply. |
Click to show internal directories.
Click to hide internal directories.