-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BitSail][Connector] Support ElasticSearch Source connector. #146
Comments
I want to try this, please assign to me, thx. |
Nice, please take your time :D |
In PR #336 I use scroll api to implement paging query. Each index is now considered a split, may be we coule use the The job conf looks like this: {
"job": {
"reader": {
"class": "com.bytedance.bitsail.connector.elasticsearch.source.ElasticsearchSource",
"es_hosts": ["http://localhost:1234"],
"es_index": "test1, test2, test3",
"scroll_size": 3,
"scroll_time": "1m",
"columns": [
{
"index": 0,
"name": "id",
"type": "integer"
},
{
"index": 1,
"name": "text_type",
"type": "text"
},
{
"index": 2,
"name": "keyword_type",
"type": "keyword"
},
{
"index": 3,
"name": "long_type",
"type": "long"
},
{
"index": 4,
"name": "date_type",
"type": "date"
}
]
}
}
} @BlockLiu do you think it's ok, thx. |
I think it's a good idea. |
Namely, we can use shard count as slice number. |
Thank you for your suggestion, I will continue to complete |
Is your feature request related to a problem? Please describe
Support ElasticSearch reader.
Describe the solution you'd like
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: