rocketmq | Apache RocketMQ is a cloud native messaging | Pub Sub library

 by   apache Java Version: rocketmq-all-5.1.2 License: Apache-2.0

kandi X-RAY | rocketmq Summary

kandi X-RAY | rocketmq Summary

rocketmq is a Java library typically used in Messaging, Pub Sub, Kafka applications. rocketmq has no bugs, it has build file available, it has a Permissive License and it has high support. However rocketmq has 1 vulnerabilities. You can download it from GitHub, Maven.

It offers a variety of features:.

            kandi-support Support

              rocketmq has a highly active ecosystem.
              It has 19374 star(s) with 10879 fork(s). There are 885 watchers for this library.
              There were 2 major release(s) in the last 12 months.
              There are 375 open issues and 3076 have been closed. On average issues are closed in 167 days. There are 266 open pull requests and 0 closed requests.
              It has a negative sentiment in the developer community.
              The latest version of rocketmq is rocketmq-all-5.1.2

            kandi-Quality Quality

              rocketmq has 0 bugs and 0 code smells.

            kandi-Security Security

              rocketmq has 1 vulnerability issues reported (1 critical, 0 high, 0 medium, 0 low).
              rocketmq code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              rocketmq 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.

            kandi-Reuse Reuse

              rocketmq releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              rocketmq saves you 92022 person hours of effort in developing the same functionality from scratch.
              It has 107840 lines of code, 9373 functions and 1064 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed rocketmq and discovered the below as its top functions. This is intended to give you an instant insight into rocketmq implemented functionality, and help decide if they suit your requirements.
            • Moves forward to the next state in the input stream
            • initialize the manager
            • Internal implementation .
            • Create a broker instance .
            • Start the consumer
            • Sends a consumer send message back to a remoting command
            • Check the message and return the response .
            • parses the expression
            • Invoked when a channel is destroyed .
            • Returns a string representation of the properties .
            Get all kandi verified functions for this library.

            rocketmq Key Features

            No Key Features are available at this moment for rocketmq.

            rocketmq Examples and Code Snippets

            No Code Snippets are available at this moment for rocketmq.

            Community Discussions


            Binary not found in Kubernetes deployment
            Asked 2022-Mar-09 at 11:23

            I'm trying to deploy rocketmq on my testing cluster. I started from the scripts provided in the apache/rocketmq-docker repo on github, but they do not work. I created my own yaml deployment starting from the one in the repo I previously cited, and it works for mqnamsrv, but not for broker. In the following the 2 deployments:



            Answered 2022-Mar-09 at 11:23

            I think the problem is with the mount path.



            Design k8s app which get data from external source and send to same destination
            Asked 2021-Sep-28 at 17:22

            I have an app that get data from a third-party data source, it will send data to my app automatically and I can't filter it, I can only receive all. When data arrive, my app will transmit this data to a rocketmq topic.

            Now I have to make this app a container and deploy it in k8s deployment with 3 replica. But these pods will all get same data and send to the same rocketmq topic.

            How do I make this app horizontal scalable without sending duplicate msg to the same rocketmq topic?



            Answered 2021-Sep-28 at 17:22

            Now I have to make this app a container and deploy it in k8s deployment with 3 replica. But these pods will all get same data and send to the same rocketmq topic.

            There is no request. My app connect to a server and it will send data to app by TCP. Every Pod will connect to that server.

            If you want to do this with more than one instance, they need to coordinate in some way.

            Leader Election pattern is a way to run multiple instances, but only one can be active (e.g. when you read from the same queue). This is a pattern to coordinate - only one instance is active at the time. So this pattern only use your replicas for higher availability.

            If you want that all your replicas actively work, this can be done with techniques like sharding or partitioning. This is also how e.g. Kafka (e.g. similar to a queue) makes concurrent work from queues.

            There are other ways to solve this problem as well, e.g. to implement some form of locks to coordinate - but partitioning or sharding as in Kafka is probably the most "cloud native" solution.



            How to set rockemq message expired time?
            Asked 2021-Mar-05 at 09:16

            Here I am using spring-cloud-starter-stream-rocketmq and spring-message to send message dn, e.g.



            Answered 2021-Mar-05 at 09:16

            I am afraid that you are wrong.

            RocketMQ does not support ttl which means the message will NOT be deleted controlled by a client parameter, though the message will be indeed deleted after a period of time(for example 7 days).

            So if you need to implement a ttl like consuming, you should do it in your consumer like:


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install rocketmq

            You can download it from GitHub, Maven.
            You can use rocketmq 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 rocketmq 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 For Gradle installation, please refer .


            RocketMQ StreamsRocketMQ FlinkRocketMQ Client CPPRocketMQ Client GoRocketMQ Client PythonRocketMQ Client NodejsRocketMQ SpringRocketMQ ExporterRocketMQ OperatorRocketMQ DockerRocketMQ Incubating Community Projects
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Pub Sub Libraries


            by greenrobot


            by apache


            by celery


            by apache


            by apache

            Try Top Libraries by apache


            by apacheTypeScript


            by apacheTypeScript


            by apacheJava


            by apacheScala


            by apachePython