Skip to content
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

[Feature][Connector-V2] new connecotor of Elasticsearch source(#2553) #2554

Closed
wants to merge 48 commits into from
Closed
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
d270890
[Feature][Connector-V2] new connecotor of Elasticsearch source(#2553)
Aug 28, 2022
ddca509
[Feature][Connector-V2] add Elasticsearch e2e test(#2553)
Sep 2, 2022
c0b2a72
Merge branch 'dev' into dev-20220820
iture123 Sep 2, 2022
cef10be
[Feature][Connector-V2] add license(#2553)
Sep 2, 2022
d99c135
Merge remote-tracking branch 'origin/dev-20220820' into dev-20220820
Sep 2, 2022
9678fdd
[Feature][Connector-V2]move java files from src/java to src/main/java…
Sep 3, 2022
62f54f6
[Feature][Connector-V2]fix call ElasticsearchContainer#close() duplic…
Sep 3, 2022
0ea81ee
[Feature][Connector-V2]modify method name(#2553)
Sep 4, 2022
19a118d
[Feature][Connector-V2]format code for Checkstyle(#2553)
Sep 4, 2022
28e821f
[Feature][Connector-V2]remove duplicate testcase,add Assert sink(#2553)
Sep 4, 2022
cafea1f
[Feature][Connector-V2] add Elasticsearch e2e spark test(#2553)
Sep 4, 2022
36d6ba2
[Feature][Connector-V2]fix Elasticsearch e2e spark conf 'env'(#2553)
Sep 4, 2022
a7207fb
[Feature][Connector-V2]fix JsonNode convert to Map(#2553)
Sep 6, 2022
4622b6d
Merge branch 'dev' into dev-20220820
iture123 Sep 7, 2022
93bc8bd
[Improve][build] Improved scope of maven-shade-plugin (#2665)
ashulin Sep 7, 2022
86df925
[Chore][Doc] Fix postgresql jdbc download link 404 in documentation (…
zhuangchong Sep 8, 2022
32c32ef
[Bug][e2e] the e2e exec error in win10, fix path separator (#2633)
laglangyue Sep 8, 2022
4c6278a
set reviewer count is 2 (#2683)
CalvinKirs Sep 8, 2022
ad43f14
[hotfix][e2e] refactor jupiter,add junit-jupiter-api (#2662)
liugddx Sep 8, 2022
e9b00d5
[Bug] fix flink-start didn't load plugins/${pluginName}/lib/* (#2639)
laglangyue Sep 9, 2022
7278209
[Connector-V2][JDBC-connector] support Jdbc dm (#2377)
laglangyue Sep 9, 2022
5039752
[Improve][e2e] Container only copy required connector jars (#2675)
ashulin Sep 9, 2022
7f9f202
[Improve][build] The e2e module don't depend on the connector*-dist m…
ashulin Sep 9, 2022
8b43e93
[Improve][build] Change the way releases are packaged (#2703)
ashulin Sep 10, 2022
0e05db4
[Hotfix][Connector-V2-e2e] Fix bash interpreter from sh to bash (#2710)
TyrantLucifer Sep 10, 2022
a496736
[Feat][UI] Add themes in the project. (#2688)
songjianet Sep 10, 2022
51c28a3
[Feature][Connector-V2] Add mongodb connecter sink (#2694)
wuchunfu Sep 11, 2022
9e82ad2
[hotfix][transform][replace] Corrected syntax (#2716)
mans2singh Sep 11, 2022
3ea7a42
[Bug][Connector-V2-spark-examples] Fix jackson dependency conflict (#…
TyrantLucifer Sep 11, 2022
b3392cb
[Bug] Fix path split exception in win10,not check file existed (#2715)
laglangyue Sep 11, 2022
9d0b5d2
[Improve][build] Dependency management split (#2686)
ashulin Sep 12, 2022
7e2bb64
[Improve][build] delete connectors*-dist modules (#2709)
ashulin Sep 13, 2022
5bd96a5
[Improve][e2e] Improved e2e start sleep (#2677)
hailin0 Sep 13, 2022
b38321e
[Improve][seatunnel-server] Update api style. (#2723)
dijiekstra Sep 14, 2022
cbf82f7
[DEV][Api] Replace SeaTunnelContext with JobContext and remove single…
ic4y Sep 14, 2022
547a6be
[Starter] [Core] Modify connector v2 starter (#2726)
Hisoka-X Sep 14, 2022
971af70
[SeaTunnel][Improve]Add sink name in flink starter. (#2728)
hk-lrzy Sep 14, 2022
3b59275
[hotfix][translation] fix data,time,timestamp type convert for spark …
laglangyue Sep 14, 2022
a357dca
[Improve][Connector-V2] Refactor hive source & sink connector (#2708)
TyrantLucifer Sep 15, 2022
6129c02
[Improve][Connector-V2] Refactor hdfs file sink connector code struct…
TyrantLucifer Sep 15, 2022
90ce385
[Improve][Connector-V2] Fix kafka connector (#2745)
hailin0 Sep 16, 2022
e4691f7
[Feat][UI] Add themes in the project. (#2753)
songjianet Sep 16, 2022
c946eb7
[Feat][UI] Update user service in the project. (#2756)
songjianet Sep 16, 2022
ffc6088
[Feature][Connector-V2] Add iceberg source connector (#2615)
hailin0 Sep 16, 2022
94ed275
[Feat][UI] Update task service in the project. (#2758)
songjianet Sep 16, 2022
1ab9d7f
Merge branch 'dev-20220820' of github.com:iture123/incubator-seatunne…
Sep 16, 2022
864780b
[Feature][Connector-V2]improve Elasticsearch source doc(#2553)
Sep 16, 2022
74dd305
[Feature][Connector-V2]improve elasticseach e2e module structure(#2553)
Sep 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions docs/en/connector-v2/source/Elasticsearch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Elasticsearch

## Description
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update doc to match new format, reference: #2625


Read data from `Elasticsearch`.

:::tip

Engine Supported

* supported `ElasticSearch version is >= 2.x and < 8.x`

:::

## Options

| name | type | required | default value |
|-------------|--------| -------- |---------------|
| hosts | array | yes | - |
| username | string | no | |
| password | string | no | |
| index | string | yes | - |
| source | array | yes | - |
| scroll_time | string | no | 1m |
| scroll_size | int | no | 100 |



### hosts [array]
`Elasticsearch` cluster http address, the format is `host:port` , allowing multiple hosts to be specified. Such as `["host1:9200", "host2:9200"]`.

### username [string]
x-pack username

### password [string]
x-pack password

### index [string]
`Elasticsearch` index name, support * fuzzy matching

### source [array]
The fields of index.
You can get the document id by specifying the field `_id`.If sink _id to other index,you need specify an alias for _id due to the `Elasticsearch` limit.

### scroll_time [String]
Amount of time `Elasticsearch` will keep the search context alive for scroll requests.

### scroll_size [int]
Maximum number of hits to be returned with each `Elasticsearch` scroll request.

## Examples
```bash
Elasticsearch {
hosts = ["localhost:9200"]
index = "seatunnel-*"
source = ["_id","name","age"]
}
```
3 changes: 2 additions & 1 deletion plugin-mapping.properties
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ seatunnel.source.OssFile = connector-file-oss
seatunnel.source.Pulsar = connector-pulsar
seatunnel.source.Hudi = connector-hudi
seatunnel.sink.DingTalk = connector-dingtalk
seatunnel.sink.elasticsearch = connector-elasticsearch
seatunnel.source.Elasticsearch = connector-elasticsearch
seatunnel.sink.Elasticsearch = connector-elasticsearch
seatunnel.source.IoTDB = connector-iotdb
seatunnel.sink.IoTDB = connector-iotdb
seatunnel.sink.Neo4j = connector-neo4j
Expand Down

This file was deleted.

Loading