leonardBang commented on a change in pull request #10468: [FLINK-14649][table 
sql / api] Flatten all the connector properties keys to make it easy to 
configure in DDL
URL: https://github.com/apache/flink/pull/10468#discussion_r355276947
 
 

 ##########
 File path: 
flink-connectors/flink-connector-elasticsearch-base/src/main/java/org/apache/flink/table/descriptors/ElasticsearchValidator.java
 ##########
 @@ -155,18 +155,22 @@ private void 
validateConnectionProperties(DescriptorProperties properties) {
                final String hostsStr = 
descriptorProperties.getString(CONNECTOR_HOSTS);
 
                final String[] hosts = hostsStr.split(";");
+               final String validationExceptionMessage = "Properties '" + 
CONNECTOR_HOSTS + "' format should " +
+                       "follow the format 'http://host_name:port', but is '" + 
hosts + "'.";
 
 Review comment:
   ok

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to