vinothchandar commented on a change in pull request #969: [HUDI-251] JDBC incremental load to HUDI DeltaStreamer URL: https://github.com/apache/incubator-hudi/pull/969#discussion_r340044181
########## File path: hudi-utilities/src/test/resources/delta-streamer-config/jdbc-source.properties ########## @@ -0,0 +1,36 @@ +### +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +### +include=base.properties +# JDBC connection properties +hoodie.datasource.jdbc.url=jdbc:mysql://localhost:3306/ +hoodie.datasource.jdbc.user=hudi +# JDBC source accepts password file from either of the given uris (hdfs://,file://,s3://) +hoodie.datasource.jdbc.password.file=file:///delta-streamer-config/jdbc-source-password.txt +hoodie.datasource.jdbc.password="" +hoodie.datasource.jdbc.table.name=contract +hoodie.datasource.jdbc.driver.class=com.mysql.cj.jdbc.Driver +hoodie.datasource.jdbc.jar.path= +hoodie.datasource.write.recordkey.field=contract_id +hoodie.datasource.write.partitionpath.field=country +#JDBC incremental pull properties +hoodie.datasource.jdbc.incremental.pull=true +hoodie.datasource.jdbc.table.incremental.column.name=last_modified +hoodie.datasource.jdbc.table.incremental.pull.interval=5000 +#Extra options for jdbc +hoodie.datasource.jdbc.extra.options.fetchsize=1000 +hoodie.datasource.jdbc.extra.options.timestampFormat="yyyy-mm-dd hh:mm:ss" Review comment: nit:newline ---------------------------------------------------------------- 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
