All Products
Search
Document Center

DataHub:Overview

Last Updated:Feb 10, 2026

DataHub data synchronization feature

The DataHub data synchronization feature provides data source and sink capabilities. It lets you synchronize data from a topic to other Alibaba Cloud products in real-time/near real-time to facilitate data exchange between services. Currently, supported services include MaxCompute (formerly ODPS), AnalyticDB for MySQL (ADS), ApsaraDB RDS, Tablestore, Object Storage Service (OSS), Elasticsearch, and Function Compute. You can write data to DataHub once and configure data synchronization to use the data across all supported cloud services. This creates an end-to-end data loop.

Alibaba Cloud services supported by DataHub

Note:

  • For MaxCompute: Syncs occur every 5 minutes or when the batch size reaches 64 MB.

  • For Tablestore, OSS, Elasticsearch, Function Compute, and Hologres: Syncs occur every 20 seconds or when the batch size reaches 4 MB.

  • For MySQL, RDS, and ADS 3.0: Syncs occur every 20 seconds or when the batch size reaches 512 KB.

Target service

Supported topic types

Timeliness

Supports VPC

MaxCompute

TUPLE / BLOB

Near real time, up to 5-minute latency

No

AnalyticDB for MySQL

TUPLE

Real time

No

ApsaraDB RDS

TUPLE

Real time

Yes

Tablestore

TUPLE

Real time

No

Object Storage Service (OSS)

TUPLE / BLOB

Real time

No

Elasticsearch

TUPLE

Real time

Yes

Function Compute

TUPLE / BLOB

Real time

No

Hologres

TUPLE

Real time

No

Usage notes

  1. Whenever possible, synchronize data between Alibaba Cloud services within the same region to avoid cross-region network connectivity issues and reduce network latency.

  2. Because of Alibaba Cloud’s network isolation, use only the internal endpoint (classic network) of your target service when configuring the endpoint. Public endpoints are not supported.

  3. DataHub data synchronization uses at-least-once semantics. In rare cases—such as network or service failures—duplicate records may appear in the destination. Deduplicate data as needed.

  4. When you create a sync task, DataHub automatically creates a subscription ID to track the read offset from the DataHub topic. Do not modify this subscription ID.

  5. Only the owner or creator of a DataHub topic can create connectors (sync tasks).

  6. You can create up to two sync tasks per sync type.

IP whitelist

Important

The IP whitelist changes over time and is not fixed. If you still see the error "'xxx' is not in whitelist" after adding the IPs listed here, submit a ticket to obtain the latest IP whitelist.

Region

Classic network whitelist

VPC whitelist

China (Hangzhou)

10.130.203.0/24

10.130.208.0/24

10.130.210.0/24

10.130.213.0/24

10.186.213.0/24

10.32.103.0/24

10.32.104.0/24

10.32.177.0/24

10.32.94.0/24

10.32.95.0/24

10.32.96.0/24

10.32.97.0/24

10.32.98.0/24

10.32.99.0/24

10.5.35.0/24

11.115.89.0/24

11.194.216.0/24

11.194.217.0/24

11.194.247.0/24

11.194.248.0/24

11.197.14.0/24

11.223.199.0/24

100.104.191.0/24

China (Shanghai)

11.199.218.0/24

11.199.219.0/24

26.76.154.0/24

26.76.155.0/24

100.104.136.0/24

China (Beijing)

11.204.155.0/24

11.204.158.0/24

11.204.161.0/24

11.204.162.0/24

11.218.245.0/24

11.220.203.0/24

11.220.204.0/24

11.220.216.0/24

11.220.217.0/24

11.220.237.0/24

11.220.238.0/24

11.220.240.0/24

11.220.242.0/24

11.223.107.0/24

100.104.33.0/24

China (Shenzhen)

10.58.213.0/24

10.58.219.0/24

11.114.243.0/24

26.41.109.0/24

26.41.119.0/24

26.74.38.0/24

100.104.55.0/24

Asia Pacific SE 1 (Singapore)

11.112.208.0/24

11.195.209.0/24

11.197.63.0/24

26.53.11.0/24

26.59.42.0/24

26.77.111.0/24

26.79.102.0/24

26.79.92.0/24

100.104.163.0/24

Alibaba Gov Cloud (Beijing)

11.199.246.0/24

11.199.247.0/24

100.104.254.0/24

China (Zhangjiakou)

10.2.165.0/24

10.93.87.0/24

11.113.55.0/24

11.114.126.0/24

11.196.52.0/24

11.196.53.0/24

11.207.155.0/24

11.57.215.0/24

100.104.195.0/24

Asia-Pacific Southeast 3 (Kuala Lumpur, Malaysia)

11.204.39.0/24

11.204.40.0/24

11.204.41.0/24

11.48.249.0/24

11.48.250.0/24

100.104.13.0/24

China (Hong Kong)

11.119.176.0/24

26.49.143.0/24

26.49.144.0/24

26.53.105.0/24

26.53.112.0/24

26.55.135.0/24

26.73.76.0/24

100.104.166.0/24

Finance Cloud (Shanghai)

10.0.4.0/24

10.0.5.0/24

10.130.163.0/24

11.197.111.0/24

11.197.120.0/24

100.104.220.0/24

Europe Central 1 (Frankfurt)

10.250.235.0/24

10.254.223.0/24

10.254.224.0/24

10.71.0.0/24

11.195.132.0/24

26.78.19.0/24

100.104.100.0/24

US (Silicon Valley)

11.199.218.0/24

11.199.219.0/24

26.76.154.0/24

26.76.155.0/24

100.104.235.0/24

Service whitelist

MaxCompute supports project-level IP whitelists. If you enable an IP whitelist, DataHub cannot synchronize data to MaxCompute. To resolve this, MaxCompute provides a service whitelist. Add the DataHub service name to the MaxCompute service whitelist to allow successful data synchronization.

The current DataHub service name is DataHub. You can configure it using the SDK or odpscmd.

The following example shows how to configure the SDK:

public static void setServiceName() throws OdpsException {
    String endpoint = "";
    String project = "";
    String accessId = "";
    String accessKey = "";

    Account account = new AliyunAccount(accessId, accessKey);
    Odps odps = new Odps(account);
    odps.setEndpoint(endpoint);
    odps.setDefaultProject(project);

    Map<String, String> prop = new HashMap<>();
    // Add the DataHub service name to the MaxCompute service whitelist.
    // Separate multiple names with commas. Each update overwrites previous settings.
    prop.put("odps.security.ip.whitelist.services", "DataHub");
    Group group = new Groups(odps).get("groupName");
    group.updateProject(project, null, null, prop);

    // Verify the current service whitelist setting.
    prop = odps.projects().get(project).getAllProperties();
    System.out.println("current service list: " + prop.get("odps.security.ip.whitelist.services"));
}

For odpscmd settings, see the following example.

Start odpscmd, then enter the following command.

setproject odps.security.ip.whitelist.services=DataHub;

After the configuration is complete, you can verify its success using the following method.

setproject;
## If the output includes odps.security.ip.whitelist.services=DataHub, the setting succeeded.