Skip to content

Commit

Permalink
doris sender remove
Browse files Browse the repository at this point in the history
  • Loading branch information
wtt40122 committed Nov 15, 2023
1 parent 1d367e6 commit ed416c9
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static MessageSender getMessageSender(SinkJobConfig sinkJobConfig) {
case ELASTICSEARCH:
return getEsMessageSender(sinkJobConfig, mqMessageProduct);
case DORIS:
return getDorisMessageSender(sinkJobConfig, mqMessageProduct);
// return getDorisMessageSender(sinkJobConfig, mqMessageProduct);
default:
return null;
}
Expand All @@ -44,8 +44,8 @@ private static MessageSender getEsMessageSender(SinkJobConfig sinkJobConfig, MqM
return esMessageSender;
}

private static MessageSender getDorisMessageSender(SinkJobConfig sinkJobConfig, MqMessageProduct mqMessageProduct) {
List<String> keyListSlice = IndexUtils.getKeyListSlice(sinkJobConfig.getKeyList());
return new DorisMessageSender(sinkJobConfig.getIndex(), mqMessageProduct, sinkJobConfig.getStorageInfo(), keyListSlice);
}
// private static MessageSender getDorisMessageSender(SinkJobConfig sinkJobConfig, MqMessageProduct mqMessageProduct) {
// List<String> keyListSlice = IndexUtils.getKeyListSlice(sinkJobConfig.getKeyList());
// return new DorisMessageSender(sinkJobConfig.getIndex(), mqMessageProduct, sinkJobConfig.getStorageInfo(), keyListSlice);
// }
}

0 comments on commit ed416c9

Please sign in to comment.