eskabetxe commented on code in PR #115:
URL: 
https://github.com/apache/flink-connector-jdbc/pull/115#discussion_r1572162247


##########
flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/JdbcConnectionOptions.java:
##########
@@ -90,13 +98,31 @@ public JdbcConnectionOptionsBuilder withDriverName(String 
driverName) {
             return this;
         }
 
+        public JdbcConnectionOptionsBuilder withProperties(Properties 
properties) {

Review Comment:
   @RocMarshal I would say the easiest way, eliminating the method.
   
   If someone has a properties, they can do:
   `properties.forEach((key, value) -> builder.withProperty(key, value));`
   
   Under the hood, the `properties.putAll` is what it does.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to