Giter VIP home page Giter VIP logo

disruptor-biz's Introduction

#disruptor-biz

说明

###基于 Disruptor 异步并发框架 实现的 异步事件推送、处理封装。

  • 1、事件推送

a、配置简单,少量配置即可实现异步事件推送

  • 2、事件处理

a、配置简单,少量配置即可实现异步事件处理

b、组件实现了基于责任链的事件处理实现;可实现对具备不同 事件规则 ruleExpression 的事件对象进行专责处理;就如 Filter,该组件实现的Handler采用了同样的原理;

  • /Event-DC-Output/TagA-Output/** = inDbPostHandler 该配置表示;Event = Event-DC-Output , Tags = TagA-Output , Keys = 任何类型 的事件对象交由 inDbPostHandler 来处理
  • /Event-DC-Output/TagB-Output/** = smsPostHandler 该配置表示;Event = Event-DC-Output , Tags = TagB-Output , Keys = 任何类型 的事件对象交由 smsPostHandler 来处理

通过这种责任链的机制,很好的实现了事件的分类异步处理;比如消息队列的消费端需要快速的消费各类消息,且每种处理实现都不相同;这时候就需要用到事件对象的分类异步处理。

Maven

<dependency>
	<groupId>com.github.hiwepy</groupId>
	<artifactId>disruptor-biz</artifactId>
	<version>${project.version}</version>
</dependency>

disruptor-biz's People

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.