Flink SQL connector配置

jdbc

    'connector.type' = 'jdbc',
    'connector.url' = 'jdbc:mysql://dimension.db.inc.com:3592/dbzz_bigdata_dimension?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false',
    'connector.username' = 'imension_rw',
    'connector.password' = '183937BADD5C06F1',
    'connector.table' = 'dim_manual_zz_b2c_business_line_info',
    'connector.lookup.cache.max-rows' = '1000',  //配置缓存
    'connector.lookup.cache.ttl' = '30s',//配置缓存时间
    'connector.lookup.max-retries' = '5'//重复次数

Hbase

   'connector.type' = 'hbase',
    'connector.version' = '1.4.3',
    'connector.table-name' = 'hdp_ubu_:t_info_dim',
    'connector.zookeeper.quorum' = 'localhost5:2181',
    'connector.zookeeper.znode.parent' = '/hbase'

kafka

   'connector' = 'kafka',
    'topic' = 'hdp_ubu__warehouse_dw',
    'properties.bootstrap.servers' = ''localhost:9092',
    'scan.startup.mode' = 'latest-offset',
     'scan.startup.mode' = 'timestamp',
     'scan.startup.timestamp-millis'='1619367959000',
    'format' = 'json'

MySql CDC

'connector' = 'mysql-cdc',
 'hostname' = 'localhost',
 'port' = '3306',
 'username' = 'flinkuser',
 'password' = 'flinkpw',
 'database-name' = 'inventory',
 'table-name' = 'products'

你可能感兴趣的:(flink,java)