Skip to content

[CRD-v1] Should we make the replicas field required everywhere? #11809

@scholzj

Description

@scholzj

Currently, most of our custom resources do not have the replicas field required. This applies to KafkaBridge, KafkaConnect, KafkaMirrorMaker2, or KafkaTopic. It also seems to be defaulting to different values. 3 in Connect and MM2, 1 in Bridge. I think we should try to make replicas required in Connect, MM2 and Bridge (and keep it as required in KafkaNodePool where it already is required).

I think the only exception should be the KafkaTopic resource, where when not set, number of replicas defaults to the Kafka cluster default which seems to be useful.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions