-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Closed
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)
ddca509
[Feature][Connector-V2] add Elasticsearch e2e test(#2553)
c0b2a72
Merge branch 'dev' into dev-20220820
iture123 cef10be
[Feature][Connector-V2] add license(#2553)
d99c135
Merge remote-tracking branch 'origin/dev-20220820' into dev-20220820
9678fdd
[Feature][Connector-V2]move java files from src/java to src/main/java…
62f54f6
[Feature][Connector-V2]fix call ElasticsearchContainer#close() duplic…
0ea81ee
[Feature][Connector-V2]modify method name(#2553)
19a118d
[Feature][Connector-V2]format code for Checkstyle(#2553)
28e821f
[Feature][Connector-V2]remove duplicate testcase,add Assert sink(#2553)
cafea1f
[Feature][Connector-V2] add Elasticsearch e2e spark test(#2553)
36d6ba2
[Feature][Connector-V2]fix Elasticsearch e2e spark conf 'env'(#2553)
a7207fb
[Feature][Connector-V2]fix JsonNode convert to Map(#2553)
4622b6d
Merge branch 'dev' into dev-20220820
iture123 93bc8bd
[Improve][build] Improved scope of maven-shade-plugin (#2665)
ashulin 86df925
[Chore][Doc] Fix postgresql jdbc download link 404 in documentation (…
zhuangchong 32c32ef
[Bug][e2e] the e2e exec error in win10, fix path separator (#2633)
laglangyue 4c6278a
set reviewer count is 2 (#2683)
CalvinKirs ad43f14
[hotfix][e2e] refactor jupiter,add junit-jupiter-api (#2662)
liugddx e9b00d5
[Bug] fix flink-start didn't load plugins/${pluginName}/lib/* (#2639)
laglangyue 7278209
[Connector-V2][JDBC-connector] support Jdbc dm (#2377)
laglangyue 5039752
[Improve][e2e] Container only copy required connector jars (#2675)
ashulin 7f9f202
[Improve][build] The e2e module don't depend on the connector*-dist m…
ashulin 8b43e93
[Improve][build] Change the way releases are packaged (#2703)
ashulin 0e05db4
[Hotfix][Connector-V2-e2e] Fix bash interpreter from sh to bash (#2710)
TyrantLucifer a496736
[Feat][UI] Add themes in the project. (#2688)
songjianet 51c28a3
[Feature][Connector-V2] Add mongodb connecter sink (#2694)
wuchunfu 9e82ad2
[hotfix][transform][replace] Corrected syntax (#2716)
mans2singh 3ea7a42
[Bug][Connector-V2-spark-examples] Fix jackson dependency conflict (#…
TyrantLucifer b3392cb
[Bug] Fix path split exception in win10,not check file existed (#2715)
laglangyue 9d0b5d2
[Improve][build] Dependency management split (#2686)
ashulin 7e2bb64
[Improve][build] delete connectors*-dist modules (#2709)
ashulin 5bd96a5
[Improve][e2e] Improved e2e start sleep (#2677)
hailin0 b38321e
[Improve][seatunnel-server] Update api style. (#2723)
dijiekstra cbf82f7
[DEV][Api] Replace SeaTunnelContext with JobContext and remove single…
ic4y 547a6be
[Starter] [Core] Modify connector v2 starter (#2726)
Hisoka-X 971af70
[SeaTunnel][Improve]Add sink name in flink starter. (#2728)
hk-lrzy 3b59275
[hotfix][translation] fix data,time,timestamp type convert for spark …
laglangyue a357dca
[Improve][Connector-V2] Refactor hive source & sink connector (#2708)
TyrantLucifer 6129c02
[Improve][Connector-V2] Refactor hdfs file sink connector code struct…
TyrantLucifer 90ce385
[Improve][Connector-V2] Fix kafka connector (#2745)
hailin0 e4691f7
[Feat][UI] Add themes in the project. (#2753)
songjianet c946eb7
[Feat][UI] Update user service in the project. (#2756)
songjianet ffc6088
[Feature][Connector-V2] Add iceberg source connector (#2615)
hailin0 94ed275
[Feat][UI] Update task service in the project. (#2758)
songjianet 1ab9d7f
Merge branch 'dev-20220820' of github.com:iture123/incubator-seatunne…
864780b
[Feature][Connector-V2]improve Elasticsearch source doc(#2553)
74dd305
[Feature][Connector-V2]improve elasticseach e2e module structure(#2553)
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Elasticsearch | ||
|
||
## Description | ||
|
||
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"] | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
123 changes: 0 additions & 123 deletions
123
...src/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/client/EsRestClient.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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