Closed sujuka99 closed 6 months ago
I believe that's not a good idea, name
is a required attribute for Kafka Connector config. We do not require regular KPOps users to set it manually. For added convenience, KPOps takes care of it automatically so you don't have to repeat it in your YAML. Only if you're instantiating the class directly, language tools will show an error for the missing attribute, which is to be expected.
We require the user to set the name in KafkaConnectorConfig, but it's then overwritten. The validator seems to accept that KafkaConnectorConfig.name could be None, so we should just make
KafkaConnectorConfig.name
optional.