Skip to content
/ tx-lcn Public
forked from codingapi/tx-lcn

LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases

License

Notifications You must be signed in to change notification settings

gdefias/tx-lcn

This branch is 6 commits behind codingapi/tx-lcn:dev6.0.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1905870 · Oct 29, 2020
Feb 21, 2019
Sep 7, 2020
Sep 3, 2020
Mar 4, 2020
Sep 28, 2020
Jul 5, 2020
Sep 14, 2020
Oct 28, 2020
Sep 14, 2020
Jan 6, 2020
Jan 18, 2019
Sep 3, 2020
Mar 5, 2020
Jan 16, 2019
Aug 9, 2020
Aug 18, 2020
Jul 2, 2020

Repository files navigation

Distributed Transaction Framework - LCN (6.0.0)

License Maven Central codecov Build Status

文档

见5.x版本文档见 https://www.codingapi.com/docs/txlcn-preface/

参与方式

代码提交步骤

  • fork该项目地址,并更新代码
  • 认领任务或发布问题
  • 维护代码编写测试
  • 发起合并请求,关联issues
  • 代码审核通过合并到仓库中

代码结构

  • example: 示例与测试相关的代码
  • starter-txlcn-protocol: txlcn-protocol模块的starter
  • starter-txlcn-tc: txlcn-tc模块的starter
  • txlcn-p6spy: p6spy-解析sql与jdbc的event定义
  • txlcn-protocol: 通讯协议制度
  • txlcn-tc: TC事务客户端模块
  • txlcn-tm: TM事务控制端

从0到1实现分布式事务 公开课

第一节课

分布式事务从0到1-认识分布式事务
原文 B站

第二节课

分布式事务从0到1-了解TX-LCN原理
原文 B站-原理一 B站-原理二

B站地址
https://space.bilibili.com/386239614
公众号(通过公众号加群):
CODINGAPI分享者

项目运行步骤

依赖的环境:
mysql redis

数据库脚步:
sql

启动步骤:
1、配置TM的参数信息,然后启动TM。
2、配置example-tc example-tc-2信息,启动他们。
3、测试example-tc,接口地址为 http://localhost:8090/save?name=123

About

LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.8%
  • Other 0.2%