Skip to content

Commit

Permalink
remove unneeded TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanck committed Feb 7, 2024
1 parent e310514 commit 6bb988f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private void initNewWriter() {
@Override
public void write(SinkRecord record) {
try {
// TODO: config to handle tombstones instead of always ignoring?
// ignore tombstones...
if (record.value() != null) {
Record row = convertToRow(record);
String cdcField = config.tablesCdcField();
Expand Down Expand Up @@ -111,8 +111,6 @@ private Operation extractCdcOperation(Object recordValue, String cdcField) {
return Operation.INSERT;
}

// TODO: define value mapping in config?

switch (opStr.charAt(0)) {
case 'U':
return Operation.UPDATE;
Expand Down

0 comments on commit 6bb988f

Please sign in to comment.