国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 開發(fā)設(shè)計 > 正文

mypipe部署

2019-11-06 06:19:34
字體:
供稿:網(wǎng)友

git clone https://github.com/mardambey/mypipe.git vi mypipe-runner/src/main/scala/mypipe/runner/PipeRunner.scala 55行 //shutdown() 注釋 使用的主配置文件 mypipe-runner/src/main/resources/application.conf ,修改kafka和zookper地址 mypipe-runner/target/scala-2.11/classes/application.conf (編譯后)

數(shù)據(jù)庫 過濾表 配置文件 mypipe-api/src/main/resources/reference.conf mypipe-api/target/scala-2.11/classes/reference.conf(編譯后) quit-on-empty-mutation-commit-failure = false flush-interval-seconds = 1 include-event-condition = “”” (db == “newtable” && table == “l(fā)ip”) “”“

創(chuàng)建用于訂閱數(shù)據(jù)庫的賬戶: GRANT REPLICATION SLAVE, REPLICATION CLIENT ON . TO ‘mypipe’@’%’ IDENTIFIED BY ‘mypipe’; GRANT ALL PRIVILEGES ON . TO ‘mypipe’@’%’; GRANT RELOAD ON . TO ‘mypipe’@’%’;

在用戶目錄下新增文件 用阿里云的源 vi .sbt/repositories [repositories] local osc: http://maven.aliyun.com/nexus/content/groups/public/ typesafe: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/artifact.[ext], bootOnly sonatype-oss-releases maven-central sonatype-oss-snapshots

修改編譯前文件后 編譯 ./sbt clean package 啟動命令 ./sbt “project runner” “runMain mypipe.runner.PipeRunner”

kafka配置

kafka的配置文件編輯 vi consumer.properties zookeeper.connect=172.18.0.1:2181 vi server.properties zookeeper.connect=172.18.0.1:2181

啟動 kafka bin/kafka-server-start.sh config/server.properties 或者 bin/kafka-server-start.sh -daemon config/server.properties 后臺啟動

mypipe后臺方法 crtl + z jobs bg n


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 石狮市| 武功县| 米林县| 同心县| 九龙县| 天峻县| 东山县| 中西区| 乐安县| 庄浪县| 淮阳县| 鄢陵县| 绩溪县| 临沂市| 荆门市| 定州市| 武定县| 明水县| 平凉市| 白玉县| 安国市| 安徽省| 南木林县| 昌宁县| 永泰县| 汾西县| 海盐县| 云安县| 九龙县| 中方县| 芜湖市| 承德市| 三原县| 阳新县| 扶绥县| 民权县| 西藏| 海丰县| 扬州市| 咸丰县| 加查县|