消息系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3y 7c1feb607d
pipeline code
4 years ago
austin-common pipeline code 4 years ago
austin-handler feature(austin-common):1.新增:统一响应请求回应 4 years ago
austin-service-api pipeline code 4 years ago
austin-service-api-impl pipeline code 4 years ago
austin-support pipeline code 4 years ago
austin-web pipeline code 4 years ago
sql add ddl for sms 4 years ago
LICENSE add LICENSE. 4 years ago
README.md update readme.md 4 years ago
pom.xml send sms 4 years ago

README.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Java3y 对线面试官

项目介绍

austin项目核心功能:发送消息

项目出现意义:只要公司内有发送消息的需求,都应该要有类似austin的项目,对各类消息进行统一发送处理。这有利于对功能的收拢,以及提高业务需求开发的效率

系统项目架构

austin项目核心流程austin-api接收到发送消息请求,直接将请求进MQaustin-handler消费MQ消息后由各类消息的Handler进行发送处理

Question 1 为什么发个消息需要MQ

Answer 1发送消息实际上是调用各个服务提供的API假设某消息的服务超时austin-api如果是直接调用服务,那存在超时风险拖垮整个接口性能。MQ在这是为了做异步和解耦并且在一定程度上抗住业务流量。

Question 2austin-streamaustin-datahourse的作用?

Answer 2austin-handler在发送消息的过程中会做些通用业务处理以及发送消息这个过程会产生大量的日志数据。日志数据会被收集至MQaustin-stream流式处理模块进行消费并最后将数据写入至austin-datahourse

Question 3austin-adminaustin-cron的作用?

Answer 3autsin-adminaustin项目的管理后台,负责管理消息以及查看消息下发的情况。业务方可根据通过austin-admin管理后台直接定时发送消息,而austin-cron就是承载着定时任务的工作了。

将要实现的项目架构模块

2021-11~2021-12实现功能

实现功能所需引入的技术栈:

已完成内容

截止11-21号

  • Maven+SpringBoot项目搭建
  • logback日志记录项目运行时信息
  • 引入common/guava/Hutool/Lombok/fastjson/OkHttp工具包
  • 接入腾讯云渠道发送一条短信
  • 使用SpringData JPA将短信发送记录存储至MySQL
  • 完成对Kafka接入

Java3y公众号在持续更新austin系列文章保姆级讲解搭建项目的过程(包括技术选型以及一些业务的探讨)以及相关环境的搭建。扫下面的码直接关注,带你了解整个项目

如果你需要用这个项目写在简历上,强烈建议关注公众号看实现细节的思路。如果⽂档中有任何的不懂的问题,都可以直接来找我询问,我乐意帮助你们!公众号下有我的联系方式

如何准备面试?

对线面试官公众号持续更新面试系列文章对线面试官系列深受各大开发的好评已有不少的同学通过对线面试官系列得到BATTMD等一线大厂的的offer。一个讲人话的面试系列,八股文不再是背诵。

如果你觉得有帮助,想要打赏作者,那么可以通过这个收款码打赏我,金额不重要,心意最重要。主要是我可以通过这个打赏情况来看我的心血有没有价值。