Conversation
Adds the distributed cross data center (DC-DR) API surface to Kafka, mirroring the Postgres and MongoDB DC-DR types: - spec.distributed and spec.podPlacementPolicy on KafkaSpec, so one Kafka CR expands into one self-contained Kafka cluster per Member data center. - status.disasterRecovery (KafkaDisasterRecoveryStatus, KafkaDCStatus, KafkaDRPhase) reporting the active DC, per DC broker health, cross-DC MirrorMaker 2 mirror lag in milliseconds, and the DR phase. - Per data center dataCenters on KafkaHorizontalScaling ops, so each DC's local Kafka cluster is scaled independently. Hand-spliced deepcopy and the spec and ops CRD fields. Full CRD and openapi regeneration is left to make gen in CI. Signed-off-by: Tamal Saha <tamal@appscode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the distributed cross data center (DC-DR) API surface to Kafka, mirroring the Postgres and MongoDB DC-DR types.
What
spec.distributedandspec.podPlacementPolicyonKafkaSpec, so one Kafka CR expands into one self-contained Kafka cluster per Member data center.status.disasterRecovery(KafkaDisasterRecoveryStatus,KafkaDCStatus,KafkaDRPhase) reporting the active DC, per DC broker health, cross-DC MirrorMaker 2 mirror lag in milliseconds (mirrorLagMillis), and the DR phase (Steady, FailingOver, FailingBack, Degraded).dataCentersonKafkaHorizontalScalingops, so each DC's local Kafka cluster is scaled independently.Notes
make genin CI, matching the sibling Postgres and MongoDB DC-DR PRs.go build ./apis/kubedb/v1/... ./apis/ops/v1alpha1/...is green and the changed files are gofmt clean.