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 sink(#2326) #2330

Merged
merged 7 commits into from
Aug 5, 2022

Conversation

iture123
Copy link
Contributor

@iture123 iture123 commented Aug 1, 2022

Purpose of this pull request

This pull request add new connecotor of Elasticsearch sink.(#2326)

Check list

request.setJsonEntity(requestBody);
try {
Response response = restClient.performRequest(request);
if (response.getStatusLine().getStatusCode() == 200) {
Copy link
Member

Choose a reason for hiding this comment

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

It's better use HttpStatus judge.

Copy link
Member

Choose a reason for hiding this comment

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

And maybe be NPE?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have revised it according to your suggestion.

@CalvinKirs
Copy link
Member

could you submit this PR to dev branch(not api-draft)

@iture123 iture123 changed the base branch from api-draft to dev August 3, 2022 15:44
@CalvinKirs
Copy link
Member

@Hisoka-X hi,PTAL,thx

Hisoka-X
Hisoka-X previously approved these changes Aug 4, 2022
@Hisoka-X
Copy link
Member

Hisoka-X commented Aug 4, 2022

Hi please resolve dependency check error

@CalvinKirs CalvinKirs merged commit 2a1fd50 into apache:dev Aug 5, 2022
TyrantLucifer pushed a commit to TyrantLucifer/incubator-seatunnel that referenced this pull request Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants