Code Monkey home page Code Monkey logo

Comments (2)

qqxx6661 avatar qqxx6661 commented on July 30, 2024

目前对数据管道没开放扩展点,主要是各种消息队列抽象定义区别太大,我现在无法设计好。但现在有最通用的处理方式。可以见README文档,本地处理:

@Component
public class CustomFuncTestOperationLogGetService implements IOperationLogGetService {
    @Override
    public void createLog(LogDTO logDTO) {
        log.info("logDTO: [{}]", JSON.toJSONString(logDTO));
    }
}

这种方式拿到的logDTO是已经处理完成的消息体,可以将接入MQ逻辑整合进去。

from log-record.

qqxx6661 avatar qqxx6661 commented on July 30, 2024

目前考虑仅通过IOperationLogGetService获取日志实体后由用户自行处理,包括对接其他MQ,这样做的目的是降低框架复杂度,不耦合过多后置处理逻辑(例如各种MQ,因为MQ配置繁多,很难对MQ保持持续兼容)

from log-record.

Related Issues (20)

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.