kandi X-RAY | delaymq Summary
kandi X-RAY | delaymq Summary
delaymq is a Java library. delaymq has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. However delaymq has 14 bugs. You can download it from GitHub.
delaymq
delaymq
Support
Quality
Security
License
Reuse
Support
delaymq has a low active ecosystem.
It has 14 star(s) with 10 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
delaymq has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of delaymq is current.
Quality
delaymq has 14 bugs (0 blocker, 0 critical, 4 major, 10 minor) and 229 code smells.
Security
delaymq has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
delaymq code analysis shows 0 unresolved vulnerabilities.
There are 12 security hotspots that need review.
License
delaymq is licensed under the Apache-2.0 License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
delaymq releases are not available. You will need to build from source code and install.
Build file is available. You can build the component from source.
Installation instructions are not available. Examples and code snippets are available.
delaymq saves you 2745 person hours of effort in developing the same functionality from scratch.
It has 5945 lines of code, 589 functions and 125 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed delaymq and discovered the below as its top functions. This is intended to give you an instant insight into delaymq implemented functionality, and help decide if they suit your requirements.
- Consume a single message
- Consumes a transaction single message .
- Create a delay message listener container .
- initialize the listener
- Uncompress src .
- Create redis template .
- create topic queue .
- Async send message callback
- Post - process a delayMQ transaction listener .
- Gets a topic queue .
Get all kandi verified functions for this library.
delaymq Key Features
No Key Features are available at this moment for delaymq.
delaymq Examples and Code Snippets
No Code Snippets are available at this moment for delaymq.
Community Discussions
No Community Discussions are available at this moment for delaymq.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install delaymq
You can download it from GitHub.
You can use delaymq like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the delaymq component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
You can use delaymq like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the delaymq component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
记录消息id。 msyql队列查看message_consumer_record表 redis队列查看MESSAGE:CONSUME:***对应topic Map (注意:有过期时间). 例如新发版的代码有bug,如果才能消费 已被消费过的消息。 严重不推荐:宁愿清洗数据也不要这么做 利用reverseTime设置回退消费位点,删除对应的消费记录 不推荐,慎重,. 1:当使用mysql作为队列存储 2:消息表和业务表同库 3:支持jdbcTemplae和mybatis 不支持jpa(jpa不支持nested传播) 4:com.luoluo.delaymq.consumer.support-transaction=true. 每一个topic可以对应多个topic-queue用来降低消费间的争抢。 可以动态的新增topic-queue实现扩容队列和增大消费能力 如下是mysql队列的扩容过程 CREATE TABLE `MESSAGE:QUEUE:Test:4` (
`id` varchar(64) NOT NULL COMMENT 'ID',
`version` int(10) unsigned DEFAULT '0' COMMENT '版本号',
`updated_time` datetime DEFAULT NULL COMMENT '更新时间',
`created_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '操作时间',
`score` bigint(13) DEFAULT NULL COMMENT '分数',
PRIMARY KEY (`id`),
KEY `index_score` (`score`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Message:QUEUE:Test:4顺序表';
CREATE TABLE `MESSAGE:QUEUE:Test:DELAY:4` (
`id` varchar(64) NOT NULL COMMENT 'ID',
`version` int(10) unsigned DEFAULT '0' COMMENT '版本号',
`updated_time` datetime DEFAULT NULL COMMENT '更新时间',
`created_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '操作时间',
`score` bigint(13) DEFAULT NULL COMMENT '分数',
PRIMARY KEY (`id`),
KEY `index_score` (`score`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Message:QUEUE:Test:DELAY:4顺序表';
update table `message_topic_table` set topic_data ='{"queueNames": ["Message:QUEUE:Test:0", "Message:QUEUE:Test:1", "Message:QUEUE:Test:2", "Message:QUEUE:Test:3","Message:QUEUE:Test:4"], "rebalanceStrategyEnum": "ROUND"}' where id ='Test';
redis队列扩容 set MESSAGE:TOPIC:TABLE:Test "{\"queueNames\": [\"Message:QUEUE:Test:0\", \"Message:QUEUE:Test:1\", \"Message:QUEUE:Test:2\", \"Message:QUEUE:Test:3\",\"Message:QUEUE:Test:4\"], \"rebalanceStrategyEnum\": \"ROUND\"}". 如果消费消息的速度小于生产消息的速度 优化消费接口(业务方优化),增大消费能力 将不同业务的消息,拆分置不同库。不同库对应不同的redis库,降低加锁冲突。 提pr,优化delaymq.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page