Crates.io | rlink-sink-conf |
lib.rs | rlink-sink-conf |
version | 0.6.0 |
source | src |
created_at | 2021-04-09 03:55:14.995183 |
updated_at | 2021-08-12 10:10:50.318313 |
description | sink config for rlink |
homepage | |
repository | https://github.com/yuanyinyan/rlink-sink-conf.git |
max_upload_size | |
id | 381155 |
size | 22,232 |
Sink config for rlink. Upgrade tasks smoothly.
[dependencies]
rlink-sink-conf = "0.1"
let sin_conf_url = "http://web.rlink.17usoft.com/upgrade/config/name";
let application_name = "tlb_base_qa";
let timestamp = 123 as u64;
init_sink_config(sin_conf_url.to_string(), application_name.to_string());
let mut expression_param = HashMap::new();
expression_param.insert("timestamp".to_string(), timestamp.to_string());
let sink_topic = get_sink_topic(expression_param);