29

GitHub - sxfad/porter: Porter是一款数据同步中间件,主要用于解决同构/异构数据库之...

 5 years ago
source link: https://github.com/sxfad/porter
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Porter | English

GitHub release License

概要

Porter始于2017年,提供数据同步功能,但并不仅仅局限于数据同步,在随行付内部广泛使用。主要提供一下功能:

  • 数据库准实时同步
  • 数据库迁移
  • 数据库治理
  • 自定义源端、目标端数据同步
  • 自定义数据抽取逻辑

核心功能

  • 原生支持Oracle|Mysql到Jdbc关系型数据库最终一致同步
  • 插件友好化,支持自定义源端消费插件、目标端载入插件、告警插件等插件二次开发。
  • 支持自定义源端、目标端表、字段映射
  • 支持节点基于配置文件的同步任务配置。
  • 支持管理后台同步任务推送,节点、任务管理。提供任务运行指标监控,节点运行日志、任务异常告警。
  • 支持节点资源限流、分配。
  • 基于Zookeeper集群插件的分布式架构。支持自定义集群插件。

快速开始

从源码编译

git clone https://github.com/sxfad/porter.git
cd vbill-proter
git checkout 版本
gradle build
从build/distributions目录查找安装包

配置

配置文档

	node.id=节点编号,在集群中唯一
	#集群配置
	node.cluster.strategy=ZOOKEEPER
	node.cluster.client.url=127.0.0.1:2181
	node.cluster.client.sessionTimeout=100000	

运行

tar zxvf build/distributions/porter-boot-版本.tar
porter-boot-版本/bin/startup.sh

调试

porter-boot-版本/bin/startup.sh  debug 端口号

运行环境

porter-boot-版本/bin/startup.sh --spring.profiles.active=运行环境

关闭

porter-boot-版本/bin/shutdown.sh

文档

架构设计

架构图 内存结构

快速预览

首页

联系我们

  • QQ群:835209101

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK