alibaba / alibaba/DataX

抽取MongoDB,如何设置不探测mongodb实例的真实地址

Open
#1,615 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数据库需要通过固定ip来连接。但是datax同步时,绕过了固定ip,连接的是真是数据库地址,导致网络不通出现同步失败;各位i大佬这块是怎么解决的???

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named; start by locating DataX's MongoDB extraction implementation and tracing how the configured fixed IP is used during connection setup. Reproduce the case with a fixed IP whose MongoDB advertises a different address, and consider the work complete when extraction does not switch to the advertised address and succeeds through the configured endpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb
Domain
databases, networking
Issue type
Bug
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.