摘要: # resourcejar_path=clazz=# jobName=bootstrap_server=topic=groupId=isSecurity=trueconsumerStrategy=redis_hostname=redis_port=if [ "$isSecurity" == true ]; then/software/servers/flink/bin/flink run \... 阅读全文
posted @ 2019-06-11 14:06 春江师兄 阅读(950) 评论(0) 推荐(0) 编辑
摘要: 第一种Properties props = new Properties();props.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, “node01:9092”);props.put(“acks”, “all”);props.put(“retries”, 0);props.put(“batch.size”, 16384);props.put(“ling... 阅读全文
posted @ 2019-06-11 14:03 春江师兄 阅读(2103) 评论(0) 推荐(0) 编辑