alibaba / alibaba/DataX

mongoreader json 配置添加认证方式选项

Open
#1,092 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

mongodb认证方式目前支持:SCRAM-SHA-1,SCRAM-SHA-256,X.509,LDAP,Kerberos等方式
但是mongoreader 初始化只有默认认证方式 而且目前mongo jdbc driver版本为3.2.2需要升级
MongoCredential credential = MongoCredential.createMongoCRCredential(userName, database, password.toCharArray());
-----------------------------------------------------------------------------------------------------------------------------------------
如果mongo jdbc driver 升级到3.12.X 版本 是否可以支持mongdb 集群读写优先级设置

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the mongoreader initialization and the MongoCredential.createMongoCRCredential call, then inspect the configured MongoDB JDBC driver version. Clarify which authentication methods and cluster read/write priority behavior must be supported before changing the driver or configuration. Done means the requested authentication options and any agreed cluster-priority behavior are documented and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.