参考链接:https://blog.csdn.net/zh1998wx/article/details/123101442
如何配置多表同步到es
配置文件中的索引名与sql别名需与es中建立的索引名,列名一致
#**附:es建立canal_pson索引**
PUT canal_pson
{
"mappings": {
"properties": {
"name": {
"type": "text"
},
"gender": {
"type": "text"
},
"pic": {
"type": "text"
},
"age": {
"type": "double"
}
}
}
}