vertx
vetx
睡睡大帝国
这个作者很懒,什么都没留下…
展开
-
Vertx之Grpc消息发送
介绍Vert.x gRPC 模块,它将 Google gRPC 的编程风格与 Vert.x 风格保持一致. gRPC 是一个高性能、开源、通用的RPC框架,是一种进程间通讯技术,由Google推出,基于HTTP2协议标准设计开发,默认采用Protocol Buffers数据序列化协议,支持多种开发语言。gRPC提供了一种简单的方法来精确的定义服务,并且为客户端和服务端自动生成可靠的功能库。 在gRPC客户端可以直接调用不同服务器上的远程程序,使用姿势看起来就像调用本地程序一样,轻松的实现远端服务的连接、原创 2022-02-13 20:43:08 · 917 阅读 · 1 评论 -
Vertx之Rabbit MQ消息发送
介绍Vert.x RabbitMQ客户端,允许应用程序与 RabbitMQ 代理交互的 Vert.x 客户端 (AMQP 0.9.1)1. maven项目依赖<dependencies> <dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web</artifactId> </dependency> <dependency&g原创 2022-02-13 14:57:12 · 1351 阅读 · 0 评论 -
Vertx之Multi Verticle共享数据
介绍Vert.x多Verticle之间共享数据different parts of your application, or different applications in the same Vert.x instance, or different applications across a cluster of Vert.x instances.1. maven项目依赖<dependencies> <dependency> <groupId&g原创 2022-02-06 23:46:09 · 907 阅读 · 0 评论 -
Vertx之MQTT客户端服务端发送
介绍Vert.x MQTT消息发送, 客户端和服务端1. maven项目依赖<dependencies> <dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web</artifactId> </dependency> <dependency> <groupId>io.vertx</groupId&原创 2022-01-25 19:25:52 · 6464 阅读 · 1 评论 -
Vertx之Junit单元测试
介绍Vertx-junit5该模块为使用 JUnit 5 编写 Vert.x 测试提供集成和支持1. maven项目依赖<dependencies> <dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web</artifactId> </dependency> <dependency> <groupId>原创 2022-01-20 15:51:29 · 937 阅读 · 0 评论 -
Vertx之Metric Prometheus监控指标
介绍Vert.x Micrometer Metrics客户端,该项目是基于Vert.x Metrics Service Provider Interface (SPI) 的实现。它使用 Micrometer 管理指标并向多个后端报告Vert.x core tools monitoring: TCP/HTTP client and servers, DatagramSocket, EventBus and pools User defined metrics through Micrometer原创 2022-01-17 10:52:47 · 1107 阅读 · 0 评论 -
Vertx之Mail邮件发送
介绍Vert.x Email客户端,用于通过本地邮件服务器(eg. postfix)或外部邮件服务器(eg. googlemail 或 aol)发送 SMTP 电子邮件。1. maven项目依赖<dependencies> <dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web</artifactId> </dependency>原创 2022-01-15 13:59:52 · 1418 阅读 · 0 评论 -
Vertx之响应式Redis客户端
介绍Vertx响应式mysql客户端,具有简单的API,关注可伸缩性和低开销, 特性:支持单例redis 支持Sentinel模式 支持Cluster模式 主从(单个分片,一个节点写入,多个读取)1. maven项目依赖<dependencies> <dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web</artifactId> &l原创 2022-01-12 09:11:47 · 938 阅读 · 0 评论 -
Vertx之响应式Mysql Template
介绍Vertx响应式mysql客户端,基于SQL Client Templates模版操作sql脚本1. maven项目依赖<dependencies> <dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web</artifactId> </dependency> <dependency> <groupId&原创 2022-01-09 23:14:08 · 1096 阅读 · 0 评论 -
Vertx之响应式mysql
介绍Vertx响应式mysql客户端,具有简单的API,关注可伸缩性和低开销, 特性:事件驱动 轻量级 内置数据库连接池 预制的查询缓存 游标支撑 查询行stream操作 RxJava api支持 0拷贝对象转化 完备的数据类型支持 存储过程支持 TLS/SSL支持 MySQL实用程序命令支持 MySQL和MariaDB支持 丰富的字符集支持 Unix domain socket支持1. maven项目依赖<dependencies> <dep原创 2022-01-09 14:18:46 · 1620 阅读 · 0 评论 -
Vertx之web-router
介绍路由器从HttpServer接收请求并将其路由到它包含的第一个匹配路由。路由器可以包含许多子路由。1. maven项目依赖<dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web</artifactId></dependency><dependency> <groupId>com.fasterxml.jackson.c原创 2022-01-06 16:01:05 · 480 阅读 · 0 评论 -
Vertx之Restful风格web-router
介绍路由器从HttpServer接收请求并将其路由到它包含的第一个匹配路由。路由器可以包含许多子路由, 支持Restful风格url定义1. maven项目依赖<dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web</artifactId> </dependency> <dependency> <...原创 2022-01-06 15:59:34 · 649 阅读 · 0 评论 -
Vertx之logging日志配置
介绍Vertx支持使用其内部自定义的日志方式, 也支持用户自定义日志方式通过环境变量配置vertx.logger-delegate-factory-class-name 如果classpath下有vertx-default-jul-logging.properties文件, 默认是jdk日志 在classpath下有如下依赖则使用, 顺序如: SLF4J Log4J Log4J2 1. maven项目依赖<dependency> <groupId>i原创 2022-01-06 15:57:47 · 2256 阅读 · 3 评论 -
Vertx之Exception异常统一处理拦截
介绍Vertx统一异常拦截处理1. maven项目依赖<dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web</artifactId></dependency><dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId&原创 2022-01-06 15:56:10 · 1373 阅读 · 0 评论 -
Vertx之Config配置文件读取
介绍Vertx处理配置文件读取, vertx-config-yaml文件加载读取1. maven项目依赖<dependencies> <dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web</artifactId> </dependency> <dependency> <groupId>io.vert原创 2022-01-06 15:48:38 · 2486 阅读 · 1 评论 -
Vertx之Hello world
Vertx实例原创 2022-01-06 15:46:50 · 220 阅读 · 0 评论