Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Dec 21, 2018
1 parent 53fbc2a commit d416665
Showing 1 changed file with 24 additions and 21 deletions.
@@ -1,29 +1,32 @@
/**
* Licensed to JumpMind Inc under one or more contributor
* license agreements. See the NOTICE file distributed
* with this work for additional information regarding
* copyright ownership. JumpMind Inc licenses this file
* to you under the GNU General Public License, version 3.0 (GPLv3)
* (the "License"); you may not use this file except in compliance
* with the License.
*
* You should have received a copy of the GNU General Public License,
* version 3.0 (GPLv3) along with this library; if not, see
* <http://www.gnu.org/licenses/>.
*
* 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.jumpmind.symmetric.io.data.writer;

import org.jumpmind.db.model.Table;
import org.jumpmind.db.platform.IDatabasePlatform;
import org.jumpmind.symmetric.io.data.CsvData;

public class KafkaWriter extends DynamicDefaultDatabaseWriter {

public KafkaWriter(IDatabasePlatform symmetricPlatform, IDatabasePlatform targetPlatform, String prefix,
IDatabaseWriterConflictResolver conflictResolver, DatabaseWriterSettings settings) {
super(symmetricPlatform, targetPlatform, prefix, conflictResolver, settings);
}
public KafkaWriter(IDatabasePlatform symmetricPlatform, IDatabasePlatform targetPlatform, String prefix,
IDatabaseWriterConflictResolver conflictResolver, DatabaseWriterSettings settings) {
super(symmetricPlatform, targetPlatform, prefix, conflictResolver, settings);
}

/*
@Override
protected Table lookupTableAtTarget(Table sourceTable) {
return sourceTable;
}
@Override
protected void logFailureDetails(Throwable e, CsvData data, boolean logLastDmlDetails) {
}
@Override
protected void allowInsertIntoAutoIncrementColumns(boolean value, Table table) {
}
*/
}

0 comments on commit d416665

Please sign in to comment.