Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guoshiqiufeng/loki
Simplifying mq usage
https://github.com/guoshiqiufeng/loki
kafka kafka-client kafka-clients loki mq redis rocketmq rocketmq-client rocketmq5 springboot2 springboot3
Last synced: about 1 month ago
JSON representation
Simplifying mq usage
- Host: GitHub
- URL: https://github.com/guoshiqiufeng/loki
- Owner: guoshiqiufeng
- License: apache-2.0
- Created: 2023-11-23T07:17:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-25T06:33:21.000Z (6 months ago)
- Last Synced: 2024-06-25T08:19:10.362Z (6 months ago)
- Topics: kafka, kafka-client, kafka-clients, loki, mq, redis, rocketmq, rocketmq-client, rocketmq5, springboot2, springboot3
- Language: Java
- Homepage: https://guoshiqiufeng.github.io/loki-doc/
- Size: 617 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README-zh.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## LOKI
[![Maven central](https://img.shields.io/maven-central/v/io.github.guoshiqiufeng/loki.svg?style=flat-square)](https://search.maven.org/search?q=g:io.github.guoshiqiufeng%20AND%20a:loki)
[![License](https://img.shields.io/:license-apache-brightgreen.svg?style=flat-square)](http://www.apache.org/licenses/LICENSE-2.0.html)
[![CodeQL](https://github.com/guoshiqiufeng/loki/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/guoshiqiufeng/loki/actions/workflows/github-code-scanning/codeql)
[![Commit-Activity](https://img.shields.io/github/commit-activity/m/guoshiqiufeng/loki)](https://github.com/guoshiqiufeng/loki/graphs/commit-activity)阅读其他语言版本: [English](README.md)
### 介绍
统一的消息发送、消费框架,简化mq使用。提供统一的消息发送、消费接口,支持多种mq实现,目前支持rocketmq 4.x 以上、Kafka 2.x
以上、Redis 5.X
以上### 文档
https://guoshiqiufeng.github.io/loki-doc/
### 开发框架
- Java 21
- Gradle 8.8
- Spring Boot 2.7.18
- rocketmq-client 5.2.0
- rocketmq-client-java 5.0.7 (RocketMQ-grpc)
- kafka-clients 3.7.0
- jedis 5.1.3
- spring-data-redis (可选)### 功能
* 可用 - ✅
* 进行中 - 🚧| 功能 | Rocketmq-gRPC | Rocketmq-Remoting | Kafka | Redis |
|------------------------------------------------|:-------------:|:-----------------:|-------|-------|
| 【BaseMapper】Send standard messages | ✅ | ✅ | ✅ | ✅ |
| 【BaseMapper】Send async messages | ✅ | ✅ | ✅ | ✅ |
| 【BaseMapper】Send timed/delay messages | ✅ | ✅ | 🚧 | ✅ |
| 【LokiClient】Send standard messages | ✅ | ✅ | ✅ | ✅ |
| 【LokiClient】Send async messages | ✅ | ✅ | ✅ | ✅ |
| 【LokiClient】Send timed/delay messages | ✅ | ✅ | 🚧 | ✅ |
| Producer with transactional messages | 🚧 | 🚧 | 🚧 | 🚧 |
| 【Topic】 consumer with message listener | ✅ | ✅ | ✅ | ✅ |
| 【Topic-Pattern】 consumer with message listener | 🚧 | 🚧 | ✅ | ✅ |注:
- Rocketmq-Remoting `Send timed/delay messages` 仅支持 `rocketmq 5.0` 以上版本
- Redis `Send timed/delay messages` 需要 redis 开启 `notify-keyspace-events Ex` 通知### 使用
> 可参考 [loki-test](https://github.com/guoshiqiufeng/loki-test)