pratyakshsharma commented on a change in pull request #1150: [HUDI-288]: Add support for ingesting multiple kafka streams in a single DeltaStreamer deployment URL: https://github.com/apache/incubator-hudi/pull/1150#discussion_r380555306
########## File path: hudi-common/src/main/java/org/apache/hudi/common/model/TableConfig.java ########## @@ -0,0 +1,200 @@ +/* + * 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. + */ + +package org.apache.hudi.common.model; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonProperty; + +import java.util.Objects; + +/* +Represents object with all the topic level overrides for multi table delta streamer execution + */ +@JsonIgnoreProperties(ignoreUnknown = true) Review comment: @bvaradar If we assume TableConfig is coming from DFSProperties (I am doing that change anyways :) ), then what extra benefit are we getting by decoupling source and target configs? Because implementation wise I will be merging source and target configs into single TypedProperties instance after reading them separately since everywhere we are passing only single TypedProperties instance for reading relevant configs. If TableConfig is read as DFSProperties instance (key-value pair), then non-kafka sources are automatically handled. I understand maintaining source and target configs separately is cleaner, but then it will be an extra overhead for users to maintain 2 separate files. Please help me understand. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services