- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/lackhurt/flume-canal-source
- 软件文档: https://github.com/lackhurt/flume-canal-source
- 官方下载: https://github.com/lackhurt/flume-canal-source
软件介绍
相信很多人对阿里开源的 canal 和 apache flume 都不陌生。
flume-canal-source 是对 flume 的 source 扩展。从 canal 获取数据到 flume channel 。 进而可以实现 binlog 数据到 kafka/hdfs/hive/elasticsearch 等等。
如何使用
部署 canal、flume 这里忽略。
配置 flume
配置 source 类型*
agent.sources = canalSource agent.sources.canalSource.type = com.weiboyi.etl.flume.source.canal.CanalSource
配置连接 canal 的三种方式*
canal zookeeper servers
agent.sources.canalSource.zkServers = zookeeper-host:2181
canal server urls
agent.sources.canalSource.serverUrls = canal-server1:111111,canal-server2:111111
canal server urls
agent.sources.canalSource.serverUrl = canal-server1:111111
配置 canal destination*
agent.sources.canalSource.destination = example
配置用户名密码
agent.sources.canalSource.username = user agent.sources.canalSource.password = passwd
binlog batch size, default 1024
agent.sources.canalSource.batchSize = 1024
是否需要 MySQL 修改前的数据, default true
agent.sources.canalSource.oldDataRequired = true
Structure and Interpretation of Computer Programs - 2nd Edition
Harold Abelson、Gerald Jay Sussman / The MIT Press / 1996-7-25 / USD 145.56
Structure and Interpretation of Computer Programs has had a dramatic impact on computer science curricula over the past decade. This long-awaited revision contains changes throughout the text. Ther......一起来看看 《Structure and Interpretation of Computer Programs - 2nd Edition 》 这本书的介绍吧!
