You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/09/03 03:30:11 UTC
[GitHub] [incubator-seatunnel] iture123 opened a new issue, #2621: [Bug] [connector-v2] Elasticsearch sink need optimization
iture123 opened a new issue, #2621:
URL: https://github.com/apache/incubator-seatunnel/issues/2621
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
1.in ElasticsearchSinkWriter.java,if bulk es error,need to throw Exception.
```
BulkResponse bulkResponse = esRestClient.bulk(requestBody);
if (!bulkResponse.isErrors()) {
break;
}
```
2.in IndexTypeSerializerFactory.java,if es version is 6.x,neet to give a default index type.
```
public static IndexTypeSerializer getIndexTypeSerializer(ElasticsearchVersion elasticsearchVersion, String type) {
if (elasticsearchVersion == ES2 || elasticsearchVersion == ES5) {
if (type == null || "".equals(type)) {
type = DEFAULT_TYPE;
}
return new RequiredIndexTypeSerializer(type);
}
if (elasticsearchVersion == ES6) {
if (type != null && !"".equals(type)) {
return new RequiredIndexTypeSerializer(type);
}
}
return new NotIndexTypeSerializer();
}
```
### SeaTunnel Version
2.1.3-SNAPSHOT
### SeaTunnel Config
```conf
no
```
### Running Command
```shell
no
```
### Error Exception
```log
no
```
### Flink or Spark Version
_No response_
### Java or Scala Version
_No response_
### Screenshots
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-seatunnel] github-actions[bot] closed issue #2621: [Bug] [connector-v2] Elasticsearch sink need optimization
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #2621: [Bug] [connector-v2] Elasticsearch sink need optimization
URL: https://github.com/apache/incubator-seatunnel/issues/2621
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-seatunnel] TyrantLucifer commented on issue #2621: [Bug] [connector-v2] Elasticsearch sink need optimization
Posted by GitBox <gi...@apache.org>.
TyrantLucifer commented on issue #2621:
URL: https://github.com/apache/incubator-seatunnel/issues/2621#issuecomment-1236103589
Good job, waiting for your contribution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-seatunnel] github-actions[bot] commented on issue #2621: [Bug] [connector-v2] Elasticsearch sink need optimization
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2621:
URL: https://github.com/apache/incubator-seatunnel/issues/2621#issuecomment-1328140135
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-seatunnel] EricJoy2048 commented on issue #2621: [Bug] [connector-v2] Elasticsearch sink need optimization
Posted by GitBox <gi...@apache.org>.
EricJoy2048 commented on issue #2621:
URL: https://github.com/apache/incubator-seatunnel/issues/2621#issuecomment-1257520662
@iture123 Is there any new progress in this issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-seatunnel] github-actions[bot] commented on issue #2621: [Bug] [connector-v2] Elasticsearch sink need optimization
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2621:
URL: https://github.com/apache/incubator-seatunnel/issues/2621#issuecomment-1358671393
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org