Apache RocketMQ

Apache RocketMQ
Developer(s)Apache Software Foundation
Initial release2012; 13 years ago (2012)
Stable release
5.0.0 / September 9, 2022; 2 years ago (2022-09-09)[1]
RepositoryRocketMQ Repository
Written inJava
Operating systemCross-platform
TypeStream processing, Message broker
LicenseApache License 2.0
Websiterocketmq.apache.org

RocketMQ[2] is a distributed messaging and streaming platform with low latency, high performance and reliability, trillion-level capacity and flexible scalability. It is the third generation distributed messaging middleware open sourced by Alibaba in 2012. On November 21, 2016, Alibaba donated RocketMQ to the Apache Software Foundation. Next year, on February 20, the Apache Software Foundation announced Apache RocketMQ as a Top-Level Project.

History

The development of RocketMQ can be divided into three stages.[3]

The first generation uses the push mode in data transportation, and relational database in data storage. It shows low latency in message delivery and meets the command of a typical E-commerce platform[4] with distributed transactions.

The second generation uses the pull mode in data transportation, and file system in data storage. It paid more attention to stability and reliability, and shows a comparable performance to the first generation in response time and Kafka on log collection.

The third generation combines the Pull mode with some Push operations. It inherits the advantages of the first and second generation, and shows high performance in concurrency and massive amounts of data scenarios.

Features

Much comparison have been made between the various messaging solutions, and it is widely known that when the number of topics increases dramatically, the throughput of RocketMQ dropped much less than Kafka.[5] Because the characteristics of high performance, high reliability and high real-time ability, more and more efforts have been made to the combination of RocketMQ and other protocol components in every type of messaging scenarios such as MQTT.[6]

Client SDK Protocol and Specification Ordered Message Scheduled Message Batched Message BroadCast Message Message Filter Server Triggered Redelivery
Java, C/C++, Python, Go, Nodejs Pull model, support TCP, JMS, OpenMessaging Ensure strict ordering of messages, and can scale out gracefully Supported Supported, with sync mode to avoid message loss Supported Supported, property filter expressions based on SQL92 Supported
Message Storage Message Retroactive Message Priority High Availability and Failover Message Track Configuration
High performance and low latency file storage Supported timestamp and offset two indicates Not Supported Supported, Master-Slave model, without another kit Supported Work out of box,user only need to pay attention to a few configurations

Architecture

RocketMQ consists of four parts: name servers, brokers, producers and consumers. Each of them can be horizontally extended without a single point of Failure. As shown in image left.

NameServer Cluster

The lightweight component for service discovery and they can be used to read and write routing information. Each one records global information, and supports fast storage expansion.

Broker Cluster

They use lightweight TOPIC and QUEUE mechanisms to manage data storage. To realize fault tolerance, two copies or three copies of data are provided. And Client can get message in Push and Pull model. In addition, disaster recovery and rich metrics statistics are also supported.

Producer Cluster

Producers can be distributed deployed, and messages from producers to brokers can be balanced through multi-path. In addition, fast failure and low latency are supported.

Consumer Cluster

Consumers can also be distributed deployed in the push and pull model, and they can subscribe message real-time, consume message in the unit of cluster. Message broadcasting is also supported.

Applications

There are at least five aspects Apache RocketMQ could relate to:

  • The integration of heterogeneous systems;
  • Decoupling between applications;
  • Backbone in the event-driven mechanism and complex event architecture model;
  • Data replication channels;
  • Integration with flow calculation engine;
  • Stream data access.

Community Maintenance

The RocketMQ team has done much to keep the community active. Meetups, workshops, ApacheCon and Code Marathons are regularly held in Beijing, Shenzhen and Hangzhou to attract new contributors and committers. The OpenMessaging benchmarking suites are available for RocketMQ now, helping RocketMQ keep pace with the global standard for distributed messaging.[7] As for version management, a series of standardized software development processes have been adopted. The latest version is 4.2.0, with 4.3.0 on the way. More information can be obtained here.

Awards

2016 China's most popular open source software award Archived 2018-06-19 at the Wayback Machine

2017 China's most popular open source software award Archived 2018-06-19 at the Wayback Machine

16th CJK(China-Japan-South Korea) open source software outstanding technology award

2018 China's most popular open source software award Archived 2019-01-02 at the Wayback Machine

2019 China's most popular open source software award

See also

References

  1. ^ "Release Notes - Apache RocketMQ - Version 5.0.0". 9 September 2022. Retrieved 27 September 2022.
  2. ^ "apache/rocketmq". GitHub. Retrieved 2018-05-25.
  3. ^ "From Alibaba to Apache: RocketMQ's Past, Present, and Future". InfoQ. Retrieved 2018-06-26.
  4. ^ Liao, Jianwei; Zhuang, Xiaodan; Fan, Renyi; Peng, Xiaoning (2017). "Toward a General Distributed Messaging Framework for Online Transaction Processing Applications". IEEE Access. 5: 18166–18178. Bibcode:2017IEEEA...518166L. doi:10.1109/ACCESS.2017.2717930.
  5. ^ Cloud, Alibaba (2018-01-04). "Kafka vs. RocketMQ- Multiple Topic Stress Test Results". Medium. Retrieved 2018-07-08.
  6. ^ Yue, Ma; Ruiyang, Yan; Jianwei, Sun; Kaifeng, Yao (2017). "A MQTT Protocol Message Push Server Based on RocketMQ". 2017 10th International Conference on Intelligent Computation Technology and Automation (ICICTA). pp. 295–298. doi:10.1109/ICICTA.2017.72. ISBN 978-1-5386-1230-9. S2CID 28825800.
  7. ^ "The OpenMessaging Benchmark Framework". openmessaging.cloud. Retrieved 2018-07-08.

Read other articles:

Carmen ChaplinCarmen Chaplin (right), with her sister Dolores Chaplin in Deauville in 2011PekerjaanFilm actress, film directorTahun aktif1991–presentOrang tuaMichael ChaplinPatricia Betaudier Carmen Chaplin (lahir tahun 1972; umur 52 tahun) adalah aktris dan sutradara film keturunan Inggris-Prancis.[1] Dia adalah puteri dari Michael Chaplin, cucu dari Charlie Chaplin dan cicit perempuan dari dramawan Eugene O'Neill. Ibunya adalah pelukis asal Prancis, Patricia Betaudier, puter...

 

Sergey KudrinKudrin at the World Open chess tournamentCountryUnited StatesBorn (1959-09-07) September 7, 1959 (age 64)Novosibirsk, Soviet UnionTitleGrandmaster (1984)Peak rating2580 (July 1992) Sergey Kudrin (born September 7, 1959) is a Soviet-American chess Grandmaster. Career He achieved his Grandmaster title in 1984 going on to win chess tournaments at Copenhagen in 1983, and Beer-Sheva in 1984, and Torremolinos in 1985. He played in the 2005 Chess World Cup at Khanty-Mansiysk, ...

 

Okiharu YasuokaOkiharu Yasuoka en 2017.FonctionsMinistre de la Justice2 août - 24 septembre 2008Représentant du Japon47e législature de la chambre des représentants du Japon (d)Première circonscription de la préfecture de Kagoshima11 décembre 1972 - 28 septembre 2017BiographieNaissance 11 mai 1939KagoshimaDécès 19 avril 2019 (à 79 ans)TokyoNom dans la langue maternelle 保岡興治Nationalité japonaiseFormation Université ChūōActivités Homme politique, juge, avocat, consei...

Sebuah Gereja Ortodoks Yunani di Hama, Suriah. Peta tempat-tempat di Suriah dengan populasi Kristen signifikan. Ortodoks Timur di Suriah mewakili umat Kristen di Suriah yang menganut Gereja Ortodoks Timur. Tradisi Ortodoks Timur dan Katolik 'Yunani' Arab: المسيحية الشرقية في سوريا) terwakili di Suriah oleh dua komunitas Bizantium yang memiliki kaitan sejarah dan budaya yang berbeda: Gereja Antiokhia Ortodoks Yunani,[note 1] komunitas Kristen terbesar dan tertua d...

 

Aleksandr Yeliseyev With Krylia Sovetov in 2012Informasi pribadiNama lengkap Aleksandr Vladimirovich YeliseyevTanggal lahir 15 November 1991 (umur 32)Tinggi 1,83 m (6 ft 0 in)Posisi bermain GelandangInformasi klubKlub saat ini Krylia Sovetov SamaraNomor 32Karier senior*Tahun Tim Tampil (Gol)2009 FC Moscow (reserves) 2010– Krylia Sovetov Samara 14 (1)2011–2012 → Shinnik (loan) 21 (2) * Penampilan dan gol di klub senior hanya dihitung dari liga domestik dan akura...

 

Not to be confused with Old Greenwich, Connecticut. Town in Connecticut, United StatesGreenwichTownGreenwich Town Hall FlagSealLogo Fairfield County and Connecticut Western Connecticut Planning Region and ConnecticutShow GreenwichShow ConnecticutShow the United StatesCoordinates: 41°02′20″N 73°36′49″W / 41.03889°N 73.61361°W / 41.03889; -73.61361CountryUnited StatesU.S. stateConnecticutCountyFairfieldRegionWestern CTSettled1640Joined Connecticut16...

† Египтопитек Реконструкция внешнего вида египтопитека Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:Четвероно...

 

Hour system with days divided into 24 hours Sundial at the Temple of Apollo (Pompeii) In Roman timekeeping, a day was divided into periods according to the available technology. Initially, the day was divided into two parts: the ante meridiem (before noon) and the post meridiem (after noon). With the advent of the sundial circa 263 BC, the period of the natural day from sunrise to sunset was divided into twelve hours.[1] Variation An hour was defined as one twelfth of the daytime, or ...

 

International Association of Universities Fondazione1950 ScopoCooperazione universitaria Sede centrale Parigi Sito web Modifica dati su Wikidata · Manuale L'International Association of Universities (IAU) è un'organizzazione non governativa che opera nel campo dell'istruzione superiore. Comprende oltre 600 istituti e organizzazioni di istruzione superiore in oltre 130 paesi.[1] IAU è un partner ufficiale dell'UNESCO.[2] La sede dell'organizzazione è a Parigi, in F...

British-bred Thoroughbred racehorse SemolinaSireSt SimonGrandsireGalopinDamMowerinaDamsireScottish ChiefSexMareFoaled1887[1]CountryUnited KingdomColourBayBreederWilliam Cavendish-Bentinck, 6th Duke of PortlandOwnerDuke of PortlandTrainerGeorge DawsonRecord20: 14-0-2Major winsBrocklesby Stakes (1889)Biennial Stakes (1889)1000 Guineas (1890) Semolina (1887 – 1909) was a British Thoroughbred racehorse and broodmare. Bred and owned by the 6th Duke of Portland, she was one of the bes...

 

Overview of nuclear power in the United Kingdom BerkeleyBradwellCalder HallChapelcrossDounreayDungenessHartlepoolHeysham 1, 2Hinkley Point A, B, CHunterston A, BMoorsideOldburySizewell A, B, CTornessTrawsfynyddWinfrithWylfaclass=notpageimage| Nuclear power plants in United Kingdom (view) Active plants Cancelled plants Closed plants Under construction Planned plants Nuclear power in the United Kingdom generated 16.1% of the country's ...

 

Operating system for the Nintendo Switch video game consoleThis article's lead section may be too short to adequately summarize the key points. Please consider expanding the lead to provide an accessible overview of all important aspects of the article. (August 2023)Some of this article's listed sources may not be reliable. Please help improve this article by looking for better, more reliable sources. Unreliable citations may be challenged and removed. (March 2024) (Learn how and when to remo...

Pour les articles homonymes, voir La Relève. Cet article est une ébauche concernant un film américain. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les conventions filmographiques. La Relève Données clés Titre québécois La Recrue Titre original The Rookie Réalisation Clint Eastwood Scénario Scott SpiegelBoaz Yakin Musique Lennie Niehaus Acteurs principaux Clint EastwoodCharlie SheenRaúl JuliáSonia Braga Sociétés de production Malpaso Producti...

 

У этого термина существуют и другие значения, см. Высший совет национальной обороны. Высший советнациональной обороны англ. Higher Institute of National Defence Общая информация Страна  Камбоджа Юрисдикция Камбоджа Дата создания 1985 Дата упразднения 1998 Руководство Подчинено Коали�...

 

若纳斯·萨文比Jonas Savimbi若纳斯·萨文比,摄于1990年出生(1934-08-03)1934年8月3日 葡屬西非比耶省Munhango(葡萄牙語:Munhango)逝世2002年2月22日(2002歲—02—22)(67歲) 安哥拉莫希科省卢库塞效命 安哥拉民族解放阵线 (1964–1966) 争取安哥拉彻底独立全国联盟 (1966–2002)服役年份1964 – 2002军衔将军参与战争安哥拉独立战争安哥拉內戰 若纳斯·马列罗·萨文比(Jonas Malheiro Savimbi,1...

 烏克蘭總理Прем'єр-міністр України烏克蘭國徽現任杰尼斯·什米加尔自2020年3月4日任命者烏克蘭總統任期總統任命首任維托爾德·福金设立1991年11月后继职位無网站www.kmu.gov.ua/control/en/(英文) 乌克兰 乌克兰政府与政治系列条目 宪法 政府 总统 弗拉基米尔·泽连斯基 總統辦公室 国家安全与国防事务委员会 总统代表(英语:Representatives of the President of Ukraine) 总...

 

Piozzo komune di Italia Tempat Negara berdaulatItaliaDaerah di ItaliaPiemonteProvinsi di ItaliaProvinsi Cuneo NegaraItalia Ibu kotaPiozzo PendudukTotal990  (2023 )GeografiLuas wilayah14,3 km² [convert: unit tak dikenal]Ketinggian327 m Berbatasan denganBene Vagienna Carrù Farigliano Lequio Tanaro SejarahSanto pelindungStefanus Informasi tambahanKode pos12060 Zona waktuUTC+1 UTC+2 Kode telepon0173 ID ISTAT004169 Kode kadaster ItaliaG697 Lain-lainSitus webLaman resmi Piozzo adalah ko...

 

تحتاج هذه المقالة إلى تهذيب لتتناسب مع دليل الأسلوب في ويكيبيديا. فضلاً، ساهم في تهذيب هذه المقالة من خلال معالجة مشكلات الأسلوب فيها. (فبراير 2022) مستشفى الملك خالد التخصصي للعيون معلومات عامة نوع المبنى مستشفى تخصصي القرية أو المدينة الرياض الدولة  السعودية سنة التأسيس...

Method of woodland management Coppice redirects here. For the locality in Oldham, see Coppice, Greater Manchester. Copse redirects here. Not to be confused with Corpse or Cops. Shortly after coppicing.One year's regrowth.Coppiced alder in Hampshire, UK. Coppicing /ˈkɒpɪsɪŋ/ is the traditional method in woodland management of cutting down a tree to a stump, which in many species encourages new shoots to grow from the stump or roots, thus ultimately regrowing the tree. A forest or grove th...

 

UK government, 1945–1951 This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (November 2017) (Learn how and when to remove this message) Attlee ministriesCabinet of the United Kingdom1945–19501950–1951Attlee (1950)Date formedFirst: 26 July 1945 (1945-07-26)Second: 23 February 1950 (1950-02-23)Date dissolvedFirst: 23 Februar...