-
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 sink(#2326) #2330
Conversation
request.setJsonEntity(requestBody); | ||
try { | ||
Response response = restClient.performRequest(request); | ||
if (response.getStatusLine().getStatusCode() == 200) { |
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.
It's better use HttpStatus
judge.
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.
And maybe be NPE?
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.
I have revised it according to your suggestion.
could you submit this PR to dev branch(not api-draft) |
@Hisoka-X hi,PTAL,thx |
Hi please resolve dependency check error |
…ent version to 7.5.1 that existed before (apache#2326)
Purpose of this pull request
This pull request add new connecotor of Elasticsearch sink.(#2326)
Check list
New License Guide