Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara membuat dan mengelola koneksi di Cloud Data Fusion versi 6.5 dan yang lebih baru.
Koneksi menyimpan informasi, seperti kredensial pengguna dan informasi host,
yang diperlukan untuk terhubung ke sumber data. Saat Anda menggunakan koneksi dalam
plugin, plugin akan mewarisi semua properti yang dikonfigurasi dalam koneksi.
Setelah membuat koneksi, Anda dapat menggunakannya kembali untuk pipeline lain di
namespace. Saat Anda mengekspor pipeline yang memiliki plugin yang menggunakan koneksi, JSON konfigurasi pipeline akan menyertakan semua properti.
Anda dapat mengelola koneksi untuk setiap namespace di halaman berikut di Cloud Data Fusion Studio:
Halaman Namespace Admin memungkinkan Anda menambahkan, mengedit, menghapus, menduplikasi, mengekspor, dan mengimpor koneksi untuk setiap namespace.
Halaman ruang kerja Wrangler memungkinkan Anda menambahkan, mengedit, menghapus, menduplikasi, dan mengekspor koneksi untuk setiap namespace.
Halaman Studio memungkinkan Anda menambahkan dan mengimpor koneksi untuk plugin yang didukung
untuk setiap namespace.
Sebelum memulai
Sebelum menambahkan koneksi untuk sumber database, Anda harus mengupload driver JDBC ke Cloud Data Fusion. Anda dapat mengupload driver dari Hub atau halaman Admin Namespace.
Plugin yang didukung
Plugin berikut mendukung koneksi yang dapat digunakan kembali:
Amazon S3
BigQuery
Spanner
Cloud Storage
Cloud SQL untuk MySQL
Cloud SQL untuk PostgreSQL
Database
Kafka
Microsoft SQL Server
MySQL
Oracle
PostgreSQL
Salesforce
SAP Ariba
SAP BW Open Hub Batch Source
SAP ODP
Tabel SAP
Zendesk
Membuat koneksi
Untuk membuat koneksi baru, ikuti langkah-langkah berikut:
Di Cloud Data Fusion Studio, klik
menuMenu>Namespace Admin>Connections.
Klik Tambahkan koneksi.
Dari halaman Tambahkan koneksi, pilih jenis koneksi yang akan dibuat.
Konfigurasikan properti koneksi.
Opsional: untuk memastikan koneksi berfungsi, klik Uji koneksi.
Klik Create.
Koneksi akan muncul di kolom Jenis koneksi dan tersedia untuk semua pengguna di namespace. Koneksi ini tersedia untuk digunakan di halaman ruang kerja Wrangler dan di halaman Studio di properti plugin Wrangler.
Menggunakan koneksi dalam plugin
Saat Anda menggunakan koneksi dalam plugin, plugin akan mewarisi properti koneksi
yang Anda konfigurasi di langkah sebelumnya.
Untuk menggunakan koneksi di salah satu plugin yang didukung, ikuti langkah-langkah berikut:
Di antarmuka Cloud Data Fusion Studio, buka pipeline di halaman Studio.
Arahkan kursor ke node sumber yang muncul, lalu klik Properti.
Tetapkan Use connection ke Yes.
Klik Jelajahi koneksi. Anda dapat memilih koneksi yang ada atau membuat koneksi baru. Setelah Anda memilih koneksi, semua properti yang terkait dengan koneksi tersebut tidak akan muncul lagi. Properti koneksi disimpan
dalam koneksi.
Konfigurasikan properti plugin lainnya yang diperlukan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eConnections in Cloud Data Fusion (version 6.5+) store vital information like credentials and host details for connecting to data sources, allowing for the reuse of configurations across multiple pipelines within a namespace.\u003c/p\u003e\n"],["\u003cp\u003eConnections can be managed through the Namespace Admin, Wrangler, and Studio pages, with the ability to add, edit, delete, duplicate, import, and export them, and are accessible to all users within the namespace.\u003c/p\u003e\n"],["\u003cp\u003eA wide variety of plugins, such as BigQuery, Cloud Storage, and various database connectors, support the use of reusable connections, which can be selected or created directly within the plugin's properties.\u003c/p\u003e\n"],["\u003cp\u003eBefore creating a connection for a database, the appropriate JDBC driver needs to be uploaded, which can be done either from the Hub or the Namespace Admin page.\u003c/p\u003e\n"],["\u003cp\u003eRole-based access control (RBAC) is supported for connections.\u003c/p\u003e\n"]]],[],null,["# Create and manage connections\n\nThis page describes how to create and manage connections in\nCloud Data Fusion version 6.5 and later.\n\nA connection stores information, such as user credentials and host information,\nwhich is needed to connect to data sources. When you use a connection in a\nplugin, the plugin inherits all of the properties configured in the connection.\nAfter you create the connection, you can reuse it for other pipelines in the\nnamespace. When you export a pipeline that has a plugin that uses a connection,\nthe pipeline configuration JSON includes all of the properties.\n\nYou can manage connections for each namespace on the following pages in the\nCloud Data Fusion Studio:\n\n- The **Namespace Admin** page lets you add, edit, delete, duplicate, export,\n and import connections for each namespace.\n\n- The **Wrangler** workspace page lets you add, edit, delete, duplicate, and\n export connections for each namespace.\n\n- The **Studio** page lets you add and import connections for supported plugins\n for each namespace.\n\n| **Note:** Role-based access control (RBAC) is supported for connections. For more information, see the [Role-based access control (RBAC) overview](/data-fusion/docs/concepts/rbac).\n\nBefore you begin\n----------------\n\n- Before you add a connection for a database source, you must upload the JDBC driver to Cloud Data Fusion. You can upload the driver from the Hub or the **Namespace Admin** page.\n\n### Supported plugins\n\nThe following plugins support reusable connections:\n\n- Amazon S3\n- BigQuery\n- Spanner\n- Cloud Storage\n- Cloud SQL for MySQL\n- Cloud SQL for PostgreSQL\n- Database\n- Kafka\n- Microsoft SQL Server\n- MySQL\n- Oracle\n- PostgreSQL\n- Salesforce\n- SAP Ariba\n- SAP BW Open Hub Batch Source\n- SAP ODP\n- SAP Table\n- Zendesk\n\nCreate a connection\n-------------------\n\nTo create a new connection, follow these steps:\n\n1. In the Cloud Data Fusion Studio, click menu **Menu** \\\u003e **Namespace Admin** \\\u003e **Connections**.\n2. Click **Add connection**.\n3. From the **Add connection** page, select the type of connection to create.\n4. Configure the connection properties.\n\n | **Note:** Connection names must be unique in a namespace and can only include letters, numbers, underscores, and hyphens.\n5. Optional: to make sure the connection works, click **Test connection**.\n\n6. Click **Create**.\n\nThe connection appears in the **Connection type** field and is available for all\nusers in the namespace. The connection is available for use on the **Wrangler**\nworkspace page and on the **Studio** page in the Wrangler plugin properties.\n| **Note:** You can create a connection from the **Studio** , **Wrangler** , or **Namespace Admin** pages in the Cloud Data Fusion Studio.\n\nUse a connection in a plugin\n----------------------------\n\nWhen you use a connection in a plugin, the plugin inherits the connection\nproperties that you configured in the previous step.\n\nTo use a connection in one of the supported plugins, follow these steps:\n\n1. In the Cloud Data Fusion Studio interface, open a pipeline on the **Studio** page.\n2. In the plugin pallet, expand the menu **Source** menu, and select a [supported batch source plugin](#supported_plugins).\n3. Hold the pointer over the source node that appears and click **Properties**.\n4. Set **Use connection** to **Yes**.\n5. Click **Browse connections**. You can select an existing connection or create a new one. After you select the connection, all properties associated with the connection no longer appear. The connection properties are stored in the connection.\n6. Configure the rest of the required plugin properties.\n7. Optional: to test the connection, click **Validate**.\n8. Click close **Close**.\n\n| **Note:** You can edit, delete, duplicate, import, or export each connection.\n\nWhat's next\n-----------\n\n- Learn more about using [macros in plugins](/data-fusion/docs/concepts/macros)."]]