启动入口,模块bootstrap BootstrapMain.java main,模块container DataCollectorMain.java 继承自Main.java,模块container-common Api接口 创建pipelinePipelineStoreResource.java http://127.0.0.1:18630/rest/v1/pipeline/t...
使用Spring Cloud Sleuth、Zipkin、Kafka、Mysql实现分布式追踪
tracing-zipkin-server zipkin-server 实现 package com.tpc.zipkinserver; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; i...
recover table structure from .frm files with MySQL Utilities
数据崩溃了,仅剩下.frm文件 安装 python ./setup.py build python ./setup.py install 恢复表结构 mysqlfrm --diagnostic /var/lib/mysql/afsbak/y004_f_import_info.frm MySQL Utilities-Download How to Install MySQL...
otter支持钉钉短信等报警
目前只支持邮件报警,发送邮件的代码在DefaultAlarmService里边 public void doSend(AlarmMessage data) throws Exception { SimpleMailMessage mail = new SimpleMailMessage(); // 只发送纯文本 mail.setFrom(username); mai...
otter支持kafka作为数据源
三种模式 前端修改 给canal增加参数,也就是修改canalparamter. List<List<DataSourcing>> groupDbAddresses = canal.getCanalParameter().getGroupDbAddresses(); if(canal.getCanalParameter().getSourcingType()....
ML/DL/AI/NLP自然语言处理资源集合
TensorFlow练习7: 基于RNN生成古诗词 用TensorFlow生成周杰伦歌词 使用深度学习进行中文自然语言处理之序列标注 《深度学习框架Keras使用》by 小润 知乎地址 (https://zhuanlan.zhihu.com/p/22953023),github地址 如何用 word2vec 计算两个句子之间的相似度? ...
fnlp初试
安装 需要注意的是,去先Releases下载三个文件放入源码目录内的”models”文件夹里,其中 seg.m 分词模型 pos.m 词性标注模型 dep.m 依存句法分析模型 git clone https://github.com/xpqiu/fnlp.git cd fnlp/ mvn install -Dmaven.test.skip...
Elasticsearch 搜索过程代码整理
前面的处理跟索引阶段差不多,对照参考elasticsearch-1.3.0 之索引代码粗略梳理 先来个term的query { "query":{ "term":{ "content":"a" } } } 下面multi_match的Query { "query": { "multi_match": { "query" : "我的宝马多少马力", ...
google tensorflow notes
google tensorflow的安装 可以参考文档Google tensorflow Download and Setup 在自己的Mac上安装,这里选择了Virtualenv installation,也可以选择Anaconda或者其他安装方式 Install pip and Virtualenv: sudo pip install --upgrade virtualenv...
Mechine Learning原理公式整理
线性回归 一元方程可表示为: [h_\theta(x)=\theta_0 + \theta_1 x] 多元方程可表示为: [h_\theta(x)=\theta_0 + \theta_1 x_1+…+\theta_n x_n] 可以统一写成如下格式: [h_\theta(x) =\sum_{i=0}^n (\theta_i x_i)] 其中\(x_0\)为0 梯度下降法 损...