Giter Site home page Giter Site logo

tianyi19970120 / hmily Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dromara/hmily

0.0 2.0 0.0 1 MB

TCC分布式事务框架(try,confirm,cancel)

Home Page: https://yu199195.github.io/categories/hmily-tcc/

License: Apache License 2.0

Java 98.01% HTML 0.03% Vue 1.78% CSS 0.18%

hmily's Introduction

Hmily

分布式事务方案之tcc开源框架。基于java语言来开发(JDK1.8),支持dubbo,springcloud等rpc框架进行分布式事务。

Features

  • 框架特性

    • 支持嵌套事务(Nested transaction support).
    • 采用disruptor框架进行事务日志的异步读写,与RPC框架的性能毫无差别。
    • 支持SpringBoot-starter 项目启动,使用简单。
    • RPC框架支持 : dubbo,motan,springcloud。
    • 本地事务存储支持 : redis,mongodb,zookeeper,file,mysql。
    • 事务日志序列化支持 :java,hessian,kryo,protostuff。
    • 采用Aspect AOP 切面**与Spring无缝集成,天然支持集群。
    • 内置经典的分布式事务场景demo工程,并有swagger-ui可视化界面可以快速体验。

源码解析博客

视频详解

Prerequisite

  • JDK 1.8+

  • Maven 3.2.x

  • Git

  • RPC framework dubbo or motan or springcloud。

Spring-Boot-Starter-Support

TCC原理介绍

Configuration

Quick Start

User Guide

  • 关于jar包引用问题,现在jar包还未上传到maven的**仓库,所以使用者需要自行获取代码,然后打包上传到自己maven私服

    > git clone https://github.com/yu199195/hmily.git
    
    > mvn -DskipTests clean deploy -U
    
  • 关于jar包版本问题 ,现在因为没有传到**仓库,如果引用的话,请自行设置相应的版本。

FAQ

  • 为什么我下载的代码后,用idea打开没有相应的get set 方法呢?

    答:因为框架使用了Lombok包,它是在编译的时期,自动生成get set方法,并不影响运行,如果觉得提示错误难受,请自行下载lombok包插件,lombok官网
  • 为什么我运行demo工程,找不到applicationContent.xml呢?

    答:请设置项目的资源文件夹。
  • 为什么我启动tcc-admin项目的时候,会报mongo 集群连接错误呢?

    答:这是因为项目里面有mongo代码,spring boot会自动配置,该错误没有关系,只要admin项目能正常启动就行。

Support

  • 如有任何问题欢迎加入QQ群进行讨论

  • 微信公众号

Contribution

hmily's People

Contributors

yu199195 avatar kissss avatar

Watchers

James Cloos avatar Clint Dong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.