alibaba / alibaba/DataX

elasticsearchwriter认证问题

Open
#741 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

如果es server端配置了匿名用户,elasticsearchwriter中配置的accessId、accessKey则会用不到,所有操作仍然以匿名的方式进行,由于匿名一般设置的权限比较小,所以向es写数据就失败了。如果去掉es server中配置的匿名用户,accessId、accessKey配置的用户和密码就能用到了,可以正常向es写数据。请问这是bug吗?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the elasticsearchwriter entry point and reproduce the reported behavior with an Elasticsearch server configured for anonymous access. Check whether the configured accessId and accessKey are honored in that setup; done means authenticated writes succeed without removing the server's anonymous-user configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, java
Domain
authentication, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.