概述
前面通過博客:流數據同步DataConnector測試整理簡要介紹了DataConnector的配置。下面通過一個示例,從maxcompute建表開始,介紹整個鏈路的實現。
實驗目的
使用Datahub SDK寫入數據到Topic,進而經過Dataconnector推送數據到maxcompute的數據表。
實驗步驟
1、Dataworks建表SQL腳本
CREATE TABLE IF NOT EXISTS ods_log_tracker( ip STRING COMMENT 'client ip address', user STRING, accesstime string, method STRING COMMENT 'HTTP request type, such as GET POST...', url STRING, prot