1"use strict";(globalThis.webpackChunkdocs=globalThis.webpackChunkdocs||[]).push([[17638],{1948(n,s,e){e.d(s,{A:()=>B});var r=e(30758),t=e(13526),l=e(17751),a=e(70848),i=e(25557),o=e(34318),d=e(40429),c=e(80930),h=e(23653);function u(n){return r.Children.toArray(n).filter(n=>"\n"!==n).map(n=>{if(!n||(0,r.isValidElement)(n)&&function(n){const{props:s}=n;return!!s&&"object"==typeof s&&"value"in s}(n))return n;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof n.type?n.type:n.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)})?.filter(Boolean)??[]}function x(n){const{values:s,children:e}=n;return(0,r.useMemo)(()=>{const n=s??function(n){return u(n).map(({props:{value:n,label:s,attributes:e,default:r}})=>({value:n,label:s,attributes:e,default:r}))}(e);return function(n){const s=(0,c.XI)(n,(n,s)=>n.value===s.value);if(s.length>0)throw new Error(`Docusaurus error: Duplicate values "${s.map(n=>n.value).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(n),n},[s,e])}function j({value:n,tabValues:s}){return s.some(s=>s.value===n)}function p({queryString:n=!1,groupId:s}){const e=(0,i.W6)(),t=function({queryString:n=!1,groupId:s}){if("string"==typeof n)return n;if(!1===n)return null;if(!0===n&&!s)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return s??null}({queryString:n,groupId:s});return[(0,d.aZ)(t),(0,r.useCallback)(n=>{if(!t)return;const s=new URLSearchParams(e.location.search);s.set(t,n),e.replace({...e.location,search:s.toString()})},[t,e])]}function g(n){const{defaultValue:s,queryString:e=!1,groupId:t}=n,l=x(n),[a,i]=(0,r.useState)(()=>function({defaultValue:n,tabValues:s}){if(0===s.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(n){if(!j({value:n,tabValues:s}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${n}" but none of its children has the corresponding value. Available values are: ${s.map(n=>n.value).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return n}const e=s.find(n=>n.default)??s[0];if(!e)throw new Error("Unexpected error: 0 tabValues");return e.value}({defaultValue:s,tabValues:l})),[d,c]=p({queryString:e,groupId:t}),[u,g]=function({groupId:n}){const s=function(n){return n?`docusaurus.tab.${n}`:null}(n),[e,t]=(0,h.Dv)(s);return[e,(0,r.useCallback)(n=>{s&&t.set(n)},[s,t])]}({groupId:t}),b=(()=>{const n=d??u;return j({value:n,tabValues:l})?n:null})();(0,o.A)(()=>{b&&i(b)},[b]);return{selectedValue:a,selectValue:(0,r.useCallback)(n=>{if(!j({value:n,tabValues:l}))throw new Error(`Can't select invalid tab value=${n}`);i(n),c(n),g(n)},[c,g,l]),tabValues:l}}var b=e(53270);const m="tabList_LFHH",f="tabItem_f_AZ";var A=e(86070);function D({className:n,block:s,selectedValue:e,selectValue:r,tabValues:l}){const i=[],{blockElementScrollPositionUntilNextRender:o}=(0,a.a_)(),d=n=>{const s=n.currentTarget,t=i.indexOf(s),a=l[t].value;a!==e&&(o(s),r(a))},c=n=>{let s=null;switch(n.key){case"Enter":d(n);break;case"ArrowRight":{const e=i.indexOf(n.currentTarget)+1;s=i[e]??i[0];break}case"ArrowLeft":{const e=i.indexOf(n.currentTarget)-1;s=i[e]??i[i.length-1];break}}s?.focus()};return(0,A.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,t.A)("tabs",{"tabs--block":s},n),children:l.map(({value:n,label:s,attributes:r})=>(0,A.jsx)("li",{role:"tab",tabIndex:e===n?0:-1,"aria-selected":e===n,ref:n=>{i.push(n)},onKeyDown:c,onClick:d,...r,className:(0,t.A)("tabs__item",f,r?.className,{"tabs__item--active":e===n}),children:s??n},n))})}function v({lazy:n,children:s,selectedValue:e}){const l=(Array.isArray(s)?s:[s]).filter(Boolean);if(n){const n=l.find(n=>n.props.value===e);return n?(0,r.cloneElement)(n,{className:(0,t.A)("margin-top--md",n.props.className)}):null}return(0,A.jsx)("div",{className:"margin-top--md",children:l.map((n,s)=>(0,r.cloneElement)(n,{key:s,hidden:n.props.value!==e}))})}function y(n){const s=g(n);return(0,A.jsxs)("div",{className:(0,t.A)(l.G.tabs.container,"tabs-container",m),children:[(0,A.jsx)(D,{...s,...n}),(0,A.jsx)(v,{...s,...n})]})}function B(n){const s=(0,b.A)();return(0,A.jsx)(y,{...n,children:u(n.children)},String(s))}},3803(n,s,e){e.r(s),e.d(s,{assets:()=>h,contentTitle:()=>c,default:()=>j,frontMatter:()=>d,metadata:()=>r,toc:()=>u});const r=JSON.parse('{"id":"prerequisites/cloud-databases/mongodb-atlas","title":"MongoDB Atlas","description":"MongoDB Atlas \u
1662f MongoDB \u63d0\u4f9b\u7684\u591a\u4e91\u6258\u7ba1\u6570\u636e\u5e93\u5e73\u53f0\u3002\u672c\u6587\u4ecb\u7ecd\u5982\u4f55\u5728 TapData \u4e2d\u6dfb\u52a0 MongoDB Atlas \u6570\u636e\u6e90\uff0c\u652f\u6301\u5b9e\u65f6\u6570\u636e\u540c\u6b65\u3001\u589e\u91cf\u590d\u5236\uff0c\u53ef\u7528\u4e8e\u6570\u636e\u8fc1\u79fb\u3001\u5b9e\u65f6\u5206\u6790\u3001\u540c\u6b65\u81f3\u672c\u5730\u6570\u636e\u4ed3\u5e93\u7b49\u573a\u666f\u3002","source":"@site/docs/prerequisites/cloud-databases/mongodb-atlas.md","sourceDirName":"prerequisites/cloud-databases","slug":"/prerequisites/cloud-databases/mongodb-atlas","permalink":"/prerequisites/cloud-databases/mongodb-atlas","draft":false,"unlisted":false,"editUrl":"https://github.com/tapdata/docs/tree/main/docs/prerequisites/cloud-databases/mongodb-atlas.md","tags":[],"version":"current","frontMatter":{"keywords":["MongoDB Atlas","MongoDB Atlas \u5b9e\u65f6\u540c\u6b65","MongoDB Atlas \u6570\u636e\u96c6\u6210","MongoDB Atlas \u589e\u91cf\u590d\u5236","MongoDB \u8fc1\u79fb\u4e0a\u4e91","TapData MongoDB Atlas \u8fde\u63a5\u5668"]},"sidebar":"TapData","previous":{"title":"Huawei Cloud GaussDB","permalink":"/prerequisites/cloud-databases/huawei-cloud-gaussdb"},"next":{"title":"PolarDB MySQL","permalink":"/prerequisites/cloud-databases/polardb-mysql"}}');var t=e(86070),l=e(31832),a=e(74519),i=e(1948),o=e(54068);const d={keywords:["MongoDB Atlas","MongoDB Atlas \u5b9e\u65f6\u540c\u6b65","MongoDB Atlas \u6570\u636e\u96c6\u6210","MongoDB Atlas \u589e\u91cf\u590d\u5236","MongoDB \u8fc1\u79fb\u4e0a\u4e91","TapData MongoDB Atlas \u8fde\u63a5\u5668"]},c="MongoDB Atlas",h={},u=[...a.RM,{value:"\u652f\u6301\u7248\u672c",id:"\u652f\u6301\u7248\u672c",level:2},{value:"\u51c6\u5907\u5de5\u4f5c",id:"\u51c6\u5907\u5de5\u4f5c",level:2},{value:"\u8fde\u63a5 MongoDB Atlas",id:"\u8fde\u63a5-mongodb-atlas",level:2},{value:"\u8282\u70b9\u9ad8\u7ea7\u7279\u6027",id:"\u8282\u70b9\u9ad8\u7ea7\u7279\u6027",level:2}];function x(n){const s={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",header:"header",img:"img",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.R)(),...n.components},{Head:r}=s;return r||function(n,s){throw new Error("Expected "+(s?"component":"object")+" `"+n+"` to be defined: you likely forgot to import, pass, or provide it.")}("Head",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.header,{children:(0,t.jsx)(s.h1,{id:"mongodb-atlas",children:"MongoDB Atlas"})}),"\n","\n",(0,t.jsx)(a.Ay,{}),"\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.a,{href:"https://www.mongodb.com/atlas",children:"MongoDB Atlas"})," \u662f MongoDB \u63d0\u4f9b\u7684\u591a\u4e91\u6258\u7ba1\u6570\u636e\u5e93\u5e73\u53f0\u3002\u672c\u6587\u4ecb\u7ecd\u5982\u4f55\u5728 TapData \u4e2d\u6dfb\u52a0 MongoDB Atlas \u6570\u636e\u6e90\uff0c\u652f\u6301\u5b9e\u65f6\u6570\u636e\u540c\u6b65\u3001\u589e\u91cf\u590d\u5236\uff0c\u53ef\u7528\u4e8e\u6570\u636e\u8fc1\u79fb\u3001\u5b9e\u65f6\u5206\u6790\u3001\u540c\u6b65\u81f3\u672c\u5730\u6570\u636e\u4ed3\u5e93\u7b49\u573a\u666f\u3002"]}),"\n",(0,t.jsx)(r,{children:(0,t.jsx)("link",{rel:"canonical",href:"https://docs.tapdata.net/prerequisites/cloud-databases/mongodb-atlas"})}),"\n",(0,t.jsx)(s.h2,{id:"\u652f\u6301\u7248\u672c",children:"\u652f\u6301\u7248\u672c"}),"\n",(0,t.jsx)(s.p,{children:"MongoDB Atlas 5.0.15"}),"\n",(0,t.jsx)(s.admonition,{type:"tip",children:(0,t.jsx)(s.p,{children:"\u4e3a\u4fdd\u969c\u6570\u636e\u517c\u5bb9\u6027\uff0cMongoDB \u95f4\u6570\u636e\u540c\u6b65\u65f6\uff0c\u63a8\u8350\u6e90/\u76ee\u6807\u5e93\u5747\u4e3a 5.0 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002"})}),"\n",(0,t.jsx)(s.h2,{id:"\u51c6\u5907\u5de5\u4f5c",children:"\u51c6\u5907\u5de5\u4f5c"}),"\n",(0,t.jsxs)(s.ol,{children:["\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u767b\u5f55 ",(0,t.jsx)(s.a,{href:"https://cloud.mongodb.com/v2",children:"MongoDB Atlas \u5e73\u53f0"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsx)(s.p,{children:"\u8bbe\u7f6e\u7f51\u7edc\u8bbf\u95ee\u63a7\u5236\uff0c\u786e\u4fdd\u7f51\u7edc\u8fde\u901a\u6027\u3002"}),"\n",(0,t.jsxs)(s.ol,{children:["\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5728\u5de6\u4fa7\u5bfc\u822a\u680f\uff0c\u5355\u51fb ",(0,t.jsx)(s.strong,{children:"Network Access"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5355\u51fb\u53f3\u4fa7\u7684 ",(0,t.jsx)(s.strong,{children:"ADD IP ADDRESS"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u586b\u5199 TapData \u6240\u5c5e\u7684\u516c\u7f51\u5730\u5740\uff08CIDR \u683c\u5f0f\uff09\u5e76\u5355\u51fb ",(0,t.jsx)(s.strong,{children:"Confirm"}),"\u3002"]}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.img,{alt:"\u8bbe\u7f6e\u7f51\u7edc\u767d\u540d\u5355",src:e(20666).A+"",width:"1864",he
1ight:"722"})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsx)(s.p,{children:"\u521b\u5efa\u8d26\u53f7\u5e76\u6388\u4e88\u6743\u9650\uff0c\u7528\u4e8e\u6570\u636e\u5e93\u8fde\u63a5\u3002"}),"\n",(0,t.jsxs)(s.ol,{children:["\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5728\u5de6\u4fa7\u5bfc\u822a\u680f\uff0c\u5355\u51fb ",(0,t.jsx)(s.strong,{children:"Database Access"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5728\u9875\u9762\u53f3\u4fa7\uff0c\u5355\u51fb ",(0,t.jsx)(s.strong,{children:"ADD NEW DATABASE USER"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsx)(s.p,{children:"\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u9009\u62e9\u8ba4\u8bc1\u65b9\u5f0f\u5e76\u8bbe\u7f6e\u6743\u9650\u3002"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.img,{alt:"\u521b\u5efa\u8d26\u53f7\u5e76\u6388\u6743",src:e(23432).A+"",width:"2408",height:"1146"})}),"\n",(0,t.jsx)(s.p,{children:"\u672c\u6848\u4f8b\u4e2d\uff0c\u6211\u4eec\u4ee5\u5bc6\u7801\u8ba4\u8bc1\u65b9\u5f0f\u4e3a\u4f8b\u6f14\u793a\u64cd\u4f5c\u6d41\u7a0b\uff0c\u6743\u9650\u9009\u62e9\u8bf4\u660e\u5982\u4e0b"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"\u4f5c\u4e3a\u6e90\u5e93"}),"\uff1a\u9009\u62e9 ",(0,t.jsx)(s.strong,{children:"Built-in Role"})," \u4e3a ",(0,t.jsx)(s.strong,{children:"Only read any database"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"\u4f5c\u4e3a\u76ee\u6807\u5e93"}),"\uff1a\u9009\u62e9 ",(0,t.jsx)(s.strong,{children:"Built-in Role"})," \u4e3a ",(0,t.jsx)(s.strong,{children:"Read and write to any database"}),"\u3002"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5355\u51fb ",(0,t.jsx)(s.strong,{children:"Add User"}),"\u3002"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsx)(s.p,{children:"\u83b7\u53d6\u6570\u636e\u5e93\u8fde\u
163a5\u4fe1\u606f\u3002"}),"\n",(0,t.jsxs)(s.ol,{children:["\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5728\u5de6\u4fa7\u5bfc\u822a\u680f\uff0c\u5355\u51fb ",(0,t.jsx)(s.strong,{children:"Database"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u627e\u5230\u76ee\u6807\u6570\u636e\u5e93\uff0c\u5355\u51fb ",(0,t.jsx)(s.strong,{children:"Connect"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u9009\u62e9 ",(0,t.jsx)(s.strong,{children:"Connect your application"})," \u5373\u53ef\u83b7\u53d6\u8fde\u63a5\u4fe1\u606f\uff0c\u8be5\u4fe1\u606f\u5c06\u5728\u8fde\u63a5\u6570\u636e\u5e93\u65f6\u7528\u5230\u3002"]}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.img,{alt:"\u83b7\u53d6\u8fde\u63a5\u4fe1\u606f",src:e(83640).A+"",width:"2262",height:"1032"})}),"\n"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(s.h2,{id:"\u8fde\u63a5-mongodb-atlas",children:"\u8fde\u63a5 MongoDB Atlas"}),"\n",(0,t.jsxs)(s.ol,{children:["\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.a,{href:"/user-guide/log-in",children:"\u767b\u5f55 TapData \u5e73\u53f0"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5728\u5de6\u4fa7\u5bfc\u822a\u680f\uff0c\u5355\u51fb",(0,t.jsx)(s.strong,{children:"\u8fde\u63a5\u7ba1\u7406"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5355\u51fb\u9875\u9762\u53f3\u4fa7\u7684",(0,t.jsx)(s.strong,{children:"\u521b\u5efa"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u641c\u7d22\u5e76\u9009\u62e9 ",(0,t.jsx)(s.strong,{children:"MongoDB Atlas"}),"\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsx)(s.p,{children:"\u6839\u636e\u4e0b\u8ff0\u8bf4\u660e\u5b8c\u6210\u6570\u636e\u6e90\u914d\u7f6e\u3002"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.img,{alt:"MongoDB Atlas \u8fde\u63a5\u793a\u4f8b",src:e(83964).A+"",width:"2412",height:"1294"})}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsx)(s.p,{children:"\u8fde\u63a5\u4fe1\u606f\u8bbe\u7f6e"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"\u8fde\u63a5\u540d\u79f0"}),"\uff1a\u586b\u5199\u5177\u6709\u4e1a\u52a1\u610f\u4e49\u7684\u72ec\u6709\u540d\u79f0\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"\u8fde\u63a5\u7c7b\u578b"}),"\uff1a\u652f\u6301\u5c06 MongoDB Atlas \u4f5c\u4e3a\u6e90\u6216\u76ee\u6807\u5e93\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"\u8fde\u63a5\u65b9\u5f0f"}),"\uff1a\u56fa\u5b9a\u4e3a",(0,t.jsx)(s.strong,{children:"URI \u6a21\u5f0f"}),"\uff0c\u9009\u62e9\u8be5\u6a21\u5f0f\u540e\uff0c\u60a8\u9700\u8981\u586b\u5199\u6570\u636e\u5e93 URI \u8fde\u63a5\u4fe1\u606f\uff08\u9700\u66ff\u6362\u8d26\u53f7\u3001\u5bc6\u7801\u5e76\u8bbe\u7f6e\uff09\uff0c\u83b7\u53d6\u65b9\u5f0f\u89c1\u51c6\u5907\u5de5\u4f5c\uff0c"]}),"\n",(0,t.jsxs)(s.p,{children:["\u4f8b\u5982\uff1a",(0,t.jsx)(s.code,{children:" mongodb+srv://tapdata:Tap123456@cluster****.mongodb.net/admin?retryWrites=true&w=majority"})]}),"\n",(0,t.jsx)(s.admonition,{type:"tip",children:(0,t.jsxs)(s.p,{children:["\u8bf7\u52a1\u5fc5\u5728\u8fde\u
163a5\u4e32\u4e2d\u8bbe\u7f6e\u8ba4\u8bc1\u6570\u636e\u5e93\uff0c\u4f8b\u5982\u4e0a\u8ff0\u793a\u4f8b\u4e2d\u8bbe\u7f6e\u4e3a ",(0,t.jsx)(s.strong,{children:"admin"}),"\uff0c\u5426\u5219\u4f1a\u5bfc\u81f4\u8fde\u63a5\u5931\u8d25\u5e76\u63d0\u793a\u9519\u8bef\uff1a\u201cdatbaseName can not be null\u201d\u3002"]})}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"\u4f7f\u7528 TLS/SSL \u8fde\u63a5"}),"\uff1a\u6839\u636e\u4e1a\u52a1\u9700\u6c42\u9009\u62e9\uff1a"]}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"TSL/SSL \u8fde\u63a5"}),"\uff1aTapData \u5c06\u8fde\u63a5\u7f51\u7edc\u4e2d\u7684\u5355\u72ec\u670d\u52a1\u5668\uff0c\u8be5\u670d\u52a1\u5668\u63d0\u4f9b\u5230\u6570\u636e\u5e93\u7684 TSL/SSL \u901a\u9053\u3002\u5982\u679c\u60a8\u7684\u6570\u636e\u5e93\u4f4d\u4e8e\u4e0d\u53ef\u8bbf\u95ee\u7684\u5b50\u7f51\u4e2d\uff0c\u5219\u53ef\u5c1d\u8bd5\u4f7f\u7528\u6b64\u65b9\u6cd5\u5e76\u63d0\u4f9b\u79c1\u94a5\u6587\u4ef6\u3001\u79c1\u94a5\u5bc6\u7801\u7b49\u4fe1\u606f\u3002"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"\u76f4\u63a5\u8fde\u63a5"}),"\uff1aTapData \u5c06\u76f4\u63a5\u8fde\u63a5\u5230\u6570\u636e\u5e93\u3002"]}),"\n"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsx)(s.p,{children:"\u9ad8\u7ea7\u8bbe\u7f6e"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"\u5305\u542b\u8868"}),"\uff1a\u9ed8\u8ba4\u4e3a",(0,t.jsx)(s.strong,{children:"\u5168\u90e8"}),"\uff0c\u60a8\u4e5f\u53ef\u4ee5\u9009\u62e9\u81ea\u5b9a\u4e49\u5e76\u586b\u5199\u5305\u542b\u7684\u8868\uff0c\u591a\u4e2a\u8868\u4e4b\u95f4\u7528\u82f1\u6587\u9017\u53f7\uff08,\uff09\u5206\u9694\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"\u6392\u9664\u8868"}),"\uff1a\u6253\u5f00\u8be5\u5f00\u5173\u540e\uff0c\u53ef\u4ee5\u8bbe\u5b9a\u8981\u6392\u9664\u7684\u8868\uff0c\u591a\u4e2a\u8868\u4e4b\u95f4\u7528\u82f1\u6587\u9017\u53f7\uff08,\uff09\u5206\u9694\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"Agent \u8bbe\u7f6e"}),"\uff1a\u9ed8\u8ba4\u4e3a",(0,t.jsx)(s.strong,{children:"\u5e73\u53f0\u81ea\u52a8\u5206\u914d"}),"\uff0c\u60a8\u4e5f\u53ef\u4ee5\u624b\u52a8\u6307\u5b9a Agent\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"\u6a21\u578b\u52a0\u8f7d\u65f6\u95f4"}),"\uff1a\u5f53\u6570\u636e\u6e90\u4e2d\u6a21\u578b\u6570\u91cf\u5c0f\u4e8e 10,000 \u65f6\uff0c\u6bcf\u5c0f\u65f6\u5237\u65b0\u4e00\u6b21\u6a21\u578b\u4fe1\u606f\uff1b\u5982\u679c\u6a21\u578b\u6570\u636e\u8d85\u8fc7 10,000\uff0c\u5219\u6bcf\u5929\u6309\u7167\u60a8\u6307\u5b9a\u7684\u65f6\u95f4\u5237\u65b0\u6a21\u578b\u4fe1\u606f\u3002"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"\u5f00\u542f\u5fc3\u8df3\u8868"}),"\uff1a\u5f53\u8fde\u63a5\u7c7b\u578b\u9009\u62e9\u4e3a",(0,t.jsx)(s.strong,{children:"\u6e90\u5934\u548c\u76ee\u6807"}),"\u3001",(0,t.jsx)(s.strong,{children:"\u6e90\u5934"}),"\u65f6\uff0c\u652f\u6301\u6253\u5f00\u8be5\u5f00\u5173\uff0c\u7531 TapData \u5728\u6e90\u5e93\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a ",(0,t.jsx)(s.strong,{children:"_tapdata_heartbeat_table"})," \u7684\u5fc3\u8df3\u8868\u5e76\u6bcf\u9694 10 \u79d2\u66f4\u65b0\u4e00\u6b21\u5176\u4e2d\u7684\u6570\u636e\uff08\u6570\u636e\u5e93\u8d26\u53f7\u9700\u5177\u5907\u76f8\u5173\u6743\u9650\uff09\uff0c\u7528\u4e8e\u6570\u636e\u6e90\u8fde\u63a5\u4e0e\u4efb\u52a1\u7684\u5065\u5eb7\u5ea6\u76d1\u6d4b\u3002"]}),"\n",(0,t.jsx)(s.admonition,{type:"tip",children:(0,t.jsxs)(s.p,{children:["\u6570\u636e\u6e90\u9700\u5728\u6570\u636e\u590d\u5236/\u5f00\u53d1\u4efb\u52a1\u5f15\u7528\u5e76\u542f\u52a8\u540e\uff0c\u5fc3\u8df3\u4efb\u52a1\u4efb\u52a1\u624d\u4f1a\u542f\u52a8\uff0c\u6b64\u65f6\u60a8\u53ef\u4ee5\u518d\u6b21\u8fdb\u5165\u8be5\u6570\u636e\u6e90\u7684\u7f16\u8f91\u9875\u9762\uff0c\u5373\u53ef\u5355\u51fb",(0,t.jsx)(s.strong,{children:"\u67e5\u7
170b\u5fc3\u8df3\u4efb\u52a1"}),"\u3002"]})}),"\n"]}),"\n"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:["\u5355\u51fb",(0,t.jsx)(s.strong,{children:"\u8fde\u63a5\u6d4b\u8bd5"}),"\uff0c\u6d4b\u8bd5\u901a\u8fc7\u540e\u5355\u51fb",(0,t.jsx)(s.strong,{children:"\u4fdd\u5b58"}),"\u3002"]}),"\n",(0,t.jsx)(s.admonition,{type:"tip",children:(0,t.jsx)(s.p,{children:"\u5982\u63d0\u793a\u8fde\u63a5\u6d4b\u8bd5\u5931\u8d25\uff0c\u8bf7\u6839\u636e\u9875\u9762\u63d0\u793a\u8fdb\u884c\u4fee\u590d\u3002"})}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(s.h2,{id:"\u8282\u70b9\u9ad8\u7ea7\u7279\u6027",children:"\u8282\u70b9\u9ad8\u7ea7\u7279\u6027"}),"\n","\n",(0,t.jsx)(s.p,{children:"\u5728\u914d\u7f6e\u6570\u636e\u540c\u6b65/\u8f6c\u6362\u4efb\u52a1\u65f6\uff0c\u5c06 MongoDB Atlas \u4f5c\u4e3a\u6e90\u6216\u76ee\u6807\u8282\u70b9\u65f6\uff0c\u4e3a\u66f4\u597d\u6ee1\u8db3\u4e1a\u52a1\u590d\u6742\u9700\u6c42\uff0c\u6700\u5927\u5316\u53d1\u6325\u6027\u80fd\uff0cTapData \u4e3a\u5176\u5185\u7f6e\u66f4\u591a\u9ad8\u7ea7\u7279\u6027\u80fd\u529b\uff0c\u60a8\u53ef\u4ee5\u57fa\u4e8e\u4e1a\u52a1\u9700\u6c42\u914d\u7f6e\uff1a"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.img,{alt:"MongoDB \u8282\u70b9\u9ad8\u7ea7\u7279\u6027",src:e(95110).A+"",width:"2514",height:"648"})}),"\n",(0,t.jsxs)(i.A,{className:"unique-tabs",children:[(0,t.jsx)(o.A,{value:"MongoDB Atlas \u4f5c\u4e3a\u6e90\u8282\u70b9",children:(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:(0,t.jsx)(s.strong,{children:"\u914d\u7f6e"})}),(0,t.jsx)(s.th,{children:(0,t.jsx)(s.strong,{children:"\u8bf4\u660e"})})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.strong,{children:"\u7981\u7528\u6e38\u6807\u8d85\u65f6"})}),(0,t.jsx)(s.td,{children:"\u9ed8\u8ba4\u5173\u95ed\uff0c\u5f00\u542f\u540e MongoDB \u4f1a\u7981\u7528\u6e38\u6807\u8d85\u65f6\uff0c\u9632\u6b62\u6570\u636e\u540c\u6b65\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u8d85\u65f6\u9519\u8bef\u3002"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.strong,{children:"\u8865\u5145\u66f4\u65b0\u6570\u636e\u7684\u5b8c\u6574\u5b57\u6bb5"})}),(0,t.jsxs)(s.td,{children:["\u9ed8\u8ba4\u5f00\u542f\uff0c\u542f\u7528\u540e\u4f1a\u5728 ",(0,t.jsx)(s.strong,{children:"UPDATE"})," \u4e8b\u4ef6\u4e2d\u81ea\u52a8\u586b\u5145\u5b8c\u6574\u5b57\u6bb5\u3002"]})]})]})]})}),(0,t.jsx)(o.A,{value:"MongoDB Atlas \u4f5c\u4e3a\u76ee\u6807\u8282\u70b9",children:(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:(0,t.jsx)(s.strong,{children:"\u914d\u7f6e"})}),(0,t.jsx)(s.th,{children:(0,t.jsx)(s.strong,{children:"\u8bf4\u660e"})})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.strong,{children:"\u540c\u6b65\u7d22\u5f15"})}),(0,t.jsx)(s.td,{children:"\u9ed8\u8ba4\u5173\u95ed\uff0c\u542f\u7528\u540e\uff0c\u5728\u5168\u91cf\u9636\u6bb5\u76ee\u6807\u5e93\u4f1a\u81ea\u52a8\u540c\u6b65\u6e90\u5e93\u7684\u7d22\u5f15\u3002"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.strong,{children:"\u540c\u6b65\u5206\u533a\u5c5e\u6027"})}),(0,t.jsx)(s.td,{children:"\u9ed8\u8ba4\u5173\u95ed\uff0c\u542f\u7528\u540e\uff0c\u5728 MongoDB \u5206\u7247\u96c6\u7fa4\u95f4\u8fdb\u884c\u540c\u6b65\u65f6\uff0c\u80fd\u591f\u4fdd\u6301\u96c6\u5408\u7684\u5206\u7247\u5c5e\u6027\u4e00\u81f4\u3002"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.strong,{children:"\u4fdd\u5b58\u5220\u9664\u6570\u636e"})}),(0,t.jsxs)(s.td,{children:["\u9ed8\u8ba4\u5173\u95ed\uff0c\u5f00\u542f\u540e\u5c06\u7f13\u5b58\u88ab\u5220\u9664\u7684\u6570\u636e\u5185\u5bb9\u3002",(0,t.jsx)("br",{}),"\u7531\u4e8eMongoDB Atlas \u5220\u9664\u4e8b\u4ef6\u9ed8\u8ba4\u4ec5\u8fd4\u56de ",(0,t.jsx)(s.code,{children:"_id"}),"\uff0c\u82e5\u76ee\u6807\u5e93\uff08\u5982 MySQL\uff09\u540c\u6b65\u65f6\u66f4\u65b0\u6761\u4ef6\u4e0d\u542b ",(0,t.jsx)(s.code,{children:"_id"}),"\uff0c\u5c06\u65e0\u6cd5\u6b63\u786e\u5220\u9664\u6570\u636e\u3002\u6b64\u65f6\u53ef\u5148\u5c06\u6e90\u8868 ",(0,t.jsx)(s.strong,{children:"A"})," \u540c\u6b65\u81f3\u4e2d\u95f4\u8868 ",(0,t.jsx)(s.strong,{children:"A_COPY"}),"\uff08\u66f4\u65b0\u6761\u4ef6\u7528 ",(0,t.jsx)(s.code,{children:"_id"}),"\uff0c\u5e76\u5f00\u542f\u672c\u5f00\u5173\uff09\uff0c\u518d\u521b\u5efa\u65b0\u4efb\u52a1\u4ece ",(0,t.jsx)(s.strong,{children:"A_COPY"})," \u540c\u6b65\u81f3\u76ee\u6807\u8868 ",(0,t.jsx)(s.strong,{children:"B"}),"\u3002"]})]})]})]})})]})]})}function j(n={}){const{wrapper:s}={...(0,l.R)(),...n.components};return s?(0,t.jsx)(s,{...n,children:(0,t.jsx)(x,{...n})}):x(n)}},20666(n,s,e){e.d(s,{A:()=>r});const r=e.p+"assets/images/atlas_add_ip_address-d42677352fc4e2c1223a2d1b513eb177.png"},23432(n,s,e){e.d(s,{A:()=>r});const r=e.p+"assets/images/atlas_create_user-d91d726d0d625390e640183f86807bf8.png"},31832(n,s,e){e.d(s,{R:()=>a,x:()=>i});var r=e(30758);const t={},l=r.createContext(t);function a(n){const s=r.useContext(l);return r.useMemo(function(){return"function"==typeof n?n(s):{...s,...n}},[s,n])}function i(n){let s;return s=n.disableParentContext?"function"==typeof n.components?n.components(t):n.components||t:a(n.components),r.createElement(l.Provider,{value:s},n.children)}},54068(n,s,e){e.d(s,{A:()=>a});e(30758);var r=e(13526);const t="tabItem_J79T";var l=e(86070);function a({children:n,hidden:s,className:e}){return(0,l.jsx)("div",{role:"tabpanel",className:(0,r.A)(t,e),hidden:s,children:n})}},74519(n,s,e){e.d(s,{Ay:()=>i,RM:()=>l});var r=e(86070),t=e(31832);const l=[];function a(n){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{class:"tooltip",children:(0,r.jsx)("img",{src:"https://img.shields.io/badge/%E9%80%82%E7%94%A8%E7%89%88%E6%9C%AC:-5c5c5c",style:{transform:"scale(1.1)"},alt:"\u9002\u7528\u7248\u672c"})}),"\n",(0,r.jsxs)("span",{class:"tooltip",children:[(0,r.jsx)("img",{src:"https://img.shields.io/badge/_Cloud_-3B47E5",style:{transform:"scale(1.1)"},alt:"Cloud \u529f\u80fd"}),(0,r.jsxs)("span",{class:"tooltip-content",children:["TapData Cloud \u4e3a\u60a8\u63d0\u4f9b\u4e86\u4e91\u7aef\u670d\u52a1\uff0c\u9002\u5408\u9700\u8981\u5feb\u901f\u90e8\u7f72\u3001\u4f4e\u524d\u671f\u6295\u8d44\u573a\u666f\uff0c\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u53d1\u5c55\u800c\u975e\u57fa\u7840\u8bbe\u65bd\u7ba1\u7406\uff0c",(0,r.jsx)("a",{href:"https://cloud.tapdata.net/console/v3/",children:"\u6ce8\u518c\u8d26\u53f7"}),"\u5373\u53ef\u9886\u53d6\u514d\u8d39\u7684 Agent \u5b9e\u4f8b\uff0c\u6b22\u8fce\u8bd5\u7528\u3002"]})]}),"\n",(0,r.jsxs)("span",{class:"tooltip",children:[(0,r.jsx)("img",{src:"https://img.shields.io/badge/Enterprise-F3961A",style:{transform:"scale(1.1)"},alt:"\u4f01\u4e1a\u7248\u529f\u80fd"}),(0,r.jsx)("span",{class:"tooltip-content",children:"TapData Enterprise \u53ef\u90e8\u7f72\u5728\u60a8\u7684\u672c\u5730\u6570\u636e\u4e2d\u5fc3\uff0c\u9002\u5408\u5bf9\u6570\u636e\u654f\u611f\u6027\u6216\u7f51\u7edc\u9694\u79bb\u
16709\u4e25\u683c\u8981\u6c42\u7684\u573a\u666f\uff0c\u53ef\u670d\u52a1\u4e8e\u6784\u5efa\u5b9e\u65f6\u6570\u4ed3\uff0c\u5b9e\u73b0\u5b9e\u65f6\u6570\u636e\u4ea4\u6362\uff0c\u6570\u636e\u8fc1\u79fb\u7b49\u573a\u666f\u3002"})]}),"\n",(0,r.jsxs)("span",{class:"tooltip",children:[(0,r.jsx)("img",{src:"https://img.shields.io/badge/Community-00B42A",style:{transform:"scale(1.1)"},alt:"\u793e\u533a\u7248\u529f\u80fd"}),(0,r.jsxs)("span",{class:"tooltip-content",children:["TapData Community \u662f\u4e00\u4e2a",(0,r.jsx)("a",{href:"https://github.com/tapdata/tapdata",children:"\u5f00\u6e90"}),"\u7684\u6570\u636e\u96c6\u6210\u5e73\u53f0\uff0c\u63d0\u4f9b\u57fa\u7840\u7684\u6570\u636e\u540c\u6b65\u548c\u8f6c\u6362\u529f\u80fd\uff0c\u53ef\u901a\u8fc7 Docker \u4e00\u952e\u90e8\u7f72\uff0c\u5e2e\u52a9\u60a8\u5feb\u901f\u63a2\u7d22\u548c\u5b9e\u65bd\u6570\u636e\u96c6\u6210\u9879\u76ee\u3002\u968f\u7740\u9879\u76ee\u6216\u4f01\u4e1a\u53d1\u5c55\uff0c\u60a8\u53ef\u4ee5\u5e73\u6ed1\u5347\u7ea7\u81f3 TapData Cloud \u6216 TapData Enterprise\uff0c\u4ee5\u83b7\u5f97\u66f4\u591a\u9ad8\u7ea7\u529f\u80fd\u6216\u670d\u52a1\u652f\u6301\u3002"]})]})]})}function i(n={}){const{wrapper:s}={...(0,t.R)(),...n.components};return s?(0,r.jsx)(s,{...n,children:(0,r.jsx)(a,{...n})}):a()}},83640(n,s,e){e.d(s,{A:()=>r});const r=e.p+"assets/images/atlas_obtain_connection-c3ae4153dc7be918ae7ce795f1ac770b.png"},83964(n,s,e){e.d(s,{A:()=>r});const r=e.p+"assets/images/mongodb_atlas_connection_setting-02034f96fd8176babb91a17b2463518f.png"},95110(n,s,e){e.d(s,{A:()=>r});const r=e.p+"assets/images/mongodb_atlas_node_advanced_settings-3ed62cd0473aaaa56893df60080beb85.png"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.