Skip to content

Commit

Permalink
ESAdapter Support the same instance cross -library query (#4161)
Browse files Browse the repository at this point in the history
* ESAdapter Support the same instance cross -library query

* fix null point ex
  • Loading branch information
whitewjack authored May 13, 2022
1 parent e48bc35 commit b532e90
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ public void addSyncConfigToCache(String configName, ESSyncConfig config) {
+ "-"
+ StringUtils.trimToEmpty(config.getGroupId())
+ "_"
+ schema
+ tableItem.getSchema() == null ? schema : tableItem.getSchema()
+ "-"
+ tableItem.getTableName(),
k -> new ConcurrentHashMap<>());
} else {
esSyncConfigMap = dbTableEsSyncConfig.computeIfAbsent(StringUtils.trimToEmpty(config.getDestination())
+ "_"
+ schema
+ tableItem.getSchema() == null ? schema : tableItem.getSchema()
+ "-"
+ tableItem.getTableName(),
k -> new ConcurrentHashMap<>());
Expand Down

0 comments on commit b532e90

Please sign in to comment.