/x7

x7-repo: simple orm based on spring jdbcTemplate; x7-reyc: wrap resilience4j for k8s, plus distribution transaction

Primary LanguageJavaApache License 2.0Apache-2.0

x7

http://x7.xream.io

license maven

   x7-repo     (wrapped Spring JdbcTemplate, Distribution Lock, Cache and so on....)
      @EnableX7Repository           @Repository       and { interface FooRepository extends BaseRepository<Foo> }
      @EnableX7L3Caching            @CacheableL3
      @EnableDistributionLock       @Lock             or  
         { DistributionLock.by(key).lock(task) }
      
   x7-reyc
      /reyc     (wrapped Resilience4J)
         @EnableReySupport                            and { private ReyTemplate reyTemplate }
         @EnableReyClient           @ReyClient
       
      /reliable     (mq transaction api)
         @EnableReliabilityManagement     
             @ReliableProducer
             @ReliableOnConsumed
    
   x7-spring-boot-starter
   
   x7-seata-spring-boot-starter

Notes

   A method, coded with io.xream/reliable or seata, maybe we can not use:
        @Lock  or 
        { DistributionLock.by(key).lock(task) }