Github user xccui commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5564#discussion_r170194561
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/descriptors/ConnectorDescriptorValidator.scala
 ---
    @@ -27,13 +27,27 @@ class ConnectorDescriptorValidator extends 
DescriptorValidator {
     
       override def validate(properties: DescriptorProperties): Unit = {
         properties.validateString(CONNECTOR_TYPE, isOptional = false, minLen = 
1)
    -    properties.validateInt(CONNECTOR_VERSION, isOptional = true, 0, 
Integer.MAX_VALUE)
    +    properties.validateInt(CONNECTOR_PROPERTY_VERSION, isOptional = true, 
0, Integer.MAX_VALUE)
       }
     }
     
     object ConnectorDescriptorValidator {
     
    +  /**
    +    * Key for describing the type of the connector. Usually used for 
factory discovery.
    +    */
       val CONNECTOR_TYPE = "connector.type"
    +
    +  /**
    +    *  Key for describing the property version. This property can be used 
for backwards
    --- End diff --
    
    Two spaces here...


---

Reply via email to