txlcn-tracing

tx-lcn project for LCN

License

License

GroupId

GroupId

com.codingapi.txlcn
ArtifactId

ArtifactId

txlcn-tracing
Last Version

Last Version

5.0.2.RELEASE
Release Date

Release Date

Type

Type

jar
Description

Description

txlcn-tracing
tx-lcn project for LCN

Download txlcn-tracing

How to add to project

<!-- https://jarcasting.com/artifacts/com.codingapi.txlcn/txlcn-tracing/ -->
<dependency>
    <groupId>com.codingapi.txlcn</groupId>
    <artifactId>txlcn-tracing</artifactId>
    <version>5.0.2.RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/com.codingapi.txlcn/txlcn-tracing/
implementation 'com.codingapi.txlcn:txlcn-tracing:5.0.2.RELEASE'
// https://jarcasting.com/artifacts/com.codingapi.txlcn/txlcn-tracing/
implementation ("com.codingapi.txlcn:txlcn-tracing:5.0.2.RELEASE")
'com.codingapi.txlcn:txlcn-tracing:jar:5.0.2.RELEASE'
<dependency org="com.codingapi.txlcn" name="txlcn-tracing" rev="5.0.2.RELEASE">
  <artifact name="txlcn-tracing" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.codingapi.txlcn', module='txlcn-tracing', version='5.0.2.RELEASE')
)
libraryDependencies += "com.codingapi.txlcn" % "txlcn-tracing" % "5.0.2.RELEASE"
[com.codingapi.txlcn/txlcn-tracing "5.0.2.RELEASE"]

Dependencies

compile (10)

Group / Artifact Type Version
com.codingapi.txlcn : txlcn-common jar 5.0.2.RELEASE
org.springframework.cloud : spring-cloud-commons jar 2.1.0.RELEASE
org.springframework.boot : spring-boot-starter-actuator jar 2.0.5.RELEASE
org.springframework.boot : spring-boot-configuration-processor jar 2.0.5.RELEASE
com.alibaba : fastjson jar 1.2.34
com.caucho : hessian jar 4.0.38
io.protostuff : protostuff-core jar 1.6.0
io.protostuff : protostuff-runtime jar 1.6.0
com.esotericsoftware : kryo-shaded jar 4.0.0
com.google.guava : guava jar 19.0

provided (7)

Group / Artifact Type Version
org.springframework : spring-webmvc jar
javax.servlet : javax.servlet-api jar 3.1.0
com.alibaba : dubbo jar 2.6.5
com.netflix.feign : feign-core jar 8.18.0
com.netflix.ribbon : ribbon-loadbalancer jar 2.3.0
com.netflix.hystrix : hystrix-core jar 1.5.18
org.projectlombok : lombok jar 1.18.0

test (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar 2.0.5.RELEASE

Project Modules

There are no modules declared in this project.

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

com.codingapi.txlcn

CodingApi

CodingAPI is an open source organization.

Versions

Version
5.0.2.RELEASE
5.0.1.RELEASE
5.0.0.RELEASE
5.0.0