blob: 93411a4cd8d9f270a99b38400219876a89cfa741 [file] [log] [blame]
<!doctype html>
<html lang="en" dir="ltr" class="blog-wrapper blog-post-page plugin-blog plugin-id-release-notes" data-has-hydrated="false">
<head>
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v2.4.3">
<title data-rh="true">Release Notes - Apache RocketMQ Client Go- Version 2.1.1 | RocketMQ</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://your-docusaurus-test-site.com/release-notes/2022/07/25/release-notes-rocketmq-client-go-2.1.1"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="Release Notes - Apache RocketMQ Client Go- Version 2.1.1 | RocketMQ"><meta data-rh="true" name="description" content="* Source: rocketmq-client-go-2.1.1-source-release.tar.gz [PGP] [SHA512]"><meta data-rh="true" property="og:description" content="* Source: rocketmq-client-go-2.1.1-source-release.tar.gz [PGP] [SHA512]"><meta data-rh="true" property="og:type" content="article"><meta data-rh="true" property="article:published_time" content="2022-07-25T00:00:00.000Z"><meta data-rh="true" property="article:tag" content="RocketMQ_Client_Go"><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://your-docusaurus-test-site.com/release-notes/2022/07/25/release-notes-rocketmq-client-go-2.1.1"><link data-rh="true" rel="alternate" href="https://your-docusaurus-test-site.com/zh/release-notes/2022/07/25/release-notes-rocketmq-client-go-2.1.1" hreflang="zh"><link data-rh="true" rel="alternate" href="https://your-docusaurus-test-site.com/release-notes/2022/07/25/release-notes-rocketmq-client-go-2.1.1" hreflang="en"><link data-rh="true" rel="alternate" href="https://your-docusaurus-test-site.com/release-notes/2022/07/25/release-notes-rocketmq-client-go-2.1.1" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://R2IYF7ETH7-dsn.algolia.net" crossorigin="anonymous"><link rel="alternate" type="application/rss+xml" href="/blog/rss.xml" title="RocketMQ RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml" title="RocketMQ Atom Feed">
<link rel="search" type="application/opensearchdescription+xml" title="RocketMQ" href="/opensearch.xml">
<script>var _hmt=_hmt||[];!function(){var e=document.createElement("script");e.src="https://hm.baidu.com/hm.js?36428f2b841d08e7405724cbf7f860d2";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()</script>
<link rel="preconnect" href="https://www.google-analytics.com">
<script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-89603173-1","auto"),ga("set","anonymizeIp",!0),ga("send","pageview")</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<link rel="alternate" type="application/rss+xml" href="/events/rss.xml" title="RocketMQ RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/events/atom.xml" title="RocketMQ Atom Feed">
<link rel="alternate" type="application/rss+xml" href="/release-notes/rss.xml" title="RocketMQ RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/release-notes/atom.xml" title="RocketMQ Atom Feed">
<link rel="alternate" type="application/rss+xml" href="/news/rss.xml" title="RocketMQ RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/news/atom.xml" title="RocketMQ Atom Feed">
<link rel="stylesheet" href="//g.alicdn.com/mamba/assets/0.0.13/mse-arc-ui.min.css">
<script src="//g.alicdn.com/mamba/assets/0.0.13/mse-arc-ui.min.js"></script><link rel="stylesheet" href="/assets/css/styles.b006b670.css">
<link rel="preload" href="/assets/js/runtime~main.9fb1bb92.js" as="script">
<link rel="preload" href="/assets/js/main.db9ae330.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}return t}()||function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/Apache_RocketMQ_logo.svg.png" alt="My Site Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/img/Apache_RocketMQ_logo.svg.png" alt="My Site Logo" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">Apache RocketMQ</b></a></div><div class="navbar__items navbar__items--right"><a href="https://github.com/apache/rocketmq" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" class="iconLanguage_nlXk"><path fill="currentColor" d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></svg>English</a><ul class="dropdown__menu"><li><a href="/zh/release-notes/2022/07/25/release-notes-rocketmq-client-go-2.1.1" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="zh">简体中文</a></li><li><a href="/release-notes/2022/07/25/release-notes-rocketmq-client-go-2.1.1" target="_self" rel="noopener noreferrer" class="dropdown__link dropdown__link--active" lang="en">English</a></li></ul></div><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link">Docs</a><ul class="dropdown__menu"><li><a class="dropdown__link" href="/docs/">5.0</a></li><li><a class="dropdown__link" href="/docs/4.x/">4.x</a></li></ul></div><a class="navbar__item navbar__link" href="/download">Download</a><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link">Blog</a><ul class="dropdown__menu"><li><a class="dropdown__link" href="/blog">User Cases</a></li><li><a class="dropdown__link" href="/events">Activity</a></li><li><a aria-current="page" class="dropdown__link dropdown__link--active" href="/release-notes">Change Log</a></li><li><a class="dropdown__link" href="/news">RocketMQ News</a></li></ul></div><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link">Community</a><ul class="dropdown__menu"><li><a class="dropdown__link" href="/contact">Join Community</a></li><li><a class="dropdown__link" href="/origin">Origin</a></li><li><a class="dropdown__link" href="/team">Teams</a></li><li><a class="dropdown__link" href="/docs/contributionGuide/01how-to-contribute">Contributions</a></li><li><a class="dropdown__link" href="/enterprise">Enterprises</a></li></ul></div><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="searchBox_ZlJk"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20" aria-hidden="true"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><div class="container margin-vert--lg"><div class="row"><aside class="col col--3"><nav class="sidebar_re4s thin-scrollbar" aria-label="Blog recent posts navigation"><div class="sidebarItemTitle_pO2u margin-bottom--md">Recent posts</div><ul class="sidebarItemList_Yudw clean-list"><li class="sidebarItem__DBe"><a class="sidebarItemLink_mo7H" href="/release-notes/2024/02/19/release-notes-rocketmq-spring-2.3.0">Release Notes - Apache RocketMQ Spring - Version 2.3.0</a></li><li class="sidebarItem__DBe"><a class="sidebarItemLink_mo7H" href="/release-notes/2024/01/30/5.2.0">Release Notes - Apache RocketMQ - Version 5.2.0</a></li><li class="sidebarItem__DBe"><a class="sidebarItemLink_mo7H" href="/release-notes/2024/01/29/4.9.8">Release Notes - Apache RocketMQ - Version 4.9.8</a></li><li class="sidebarItem__DBe"><a class="sidebarItemLink_mo7H" href="/release-notes/2023/09/22/5.1.4">Release Notes - Apache RocketMQ - Version 5.1.4</a></li><li class="sidebarItem__DBe"><a class="sidebarItemLink_mo7H" href="/release-notes/2023/06/24/5.1.3">Release Notes - Apache RocketMQ - Version 5.1.3</a></li></ul></nav></aside><main class="col col--7" itemscope="" itemtype="http://schema.org/Blog"><article itemprop="blogPost" itemscope="" itemtype="http://schema.org/BlogPosting"><meta itemprop="description" content="* Source: rocketmq-client-go-2.1.1-source-release.tar.gz [PGP] [SHA512]"><header><h1 class="title_f1Hy" itemprop="headline">Release Notes - Apache RocketMQ Client Go- Version 2.1.1</h1><div class="container_mt6G margin-vert--md"><time datetime="2022-07-25T00:00:00.000Z" itemprop="datePublished">July 25, 2022</time> · <!-- -->4 min read</div></header><div id="__blog-post-container" class="markdown" itemprop="articleBody"><div class="theme-admonition theme-admonition-tip alert alert--success admonition_LlT9"><div class="admonitionHeading_tbUL"><span class="admonitionIcon_kALy"><svg viewBox="0 0 12 16"><path fill-rule="evenodd" d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"></path></svg></span>Download</div><div class="admonitionContent_S0QG"><ul><li>Source: <a href="https://www.apache.org/dyn/closer.cgi?path=rocketmq/rocketmq-client-go/2.1.1/rocketmq-client-go-2.1.1-source-release.tar.gz" target="_blank" rel="noopener noreferrer">rocketmq-client-go-2.1.1-source-release.tar.gz</a> [<a href="https://www.apache.org/dist/rocketmq/rocketmq-client-go/2.1.1/rocketmq-client-go-2.1.1-source-release.tar.gz.asc" target="_blank" rel="noopener noreferrer">PGP</a>] [<a href="https://www.apache.org/dist/rocketmq/rocketmq-client-go/2.1.1/rocketmq-client-go-2.1.1-source-release.tar.gz.sha512" target="_blank" rel="noopener noreferrer">SHA512</a>]</li></ul></div></div><p>Below is a summary of the issues addressed in the version 2.1.1 release of RocketMQ Client Go. For full documentation of the release, a guide to get started, please refer to <a href="https://github.com/apache/rocketmq-client-go" target="_blank" rel="noopener noreferrer">Quick Start</a>.</p><h2 class="anchor anchorWithStickyNavbar_LWe7" id="whats-changed">What&#x27;s Changed<a href="#whats-changed" class="hash-link" aria-label="Direct link to heading" title="Direct link to heading"></a></h2><ul><li><a href="https://github.com/apache/rocketmq-client-go/pull/645" target="_blank" rel="noopener noreferrer">[ISSUE #644]</a> Fix the zlibWriterPools doesn&#x27;t work leads to high memory usage.</li><li><a href="https://github.com/apache/rocketmq-client-go/pull/639" target="_blank" rel="noopener noreferrer">[ISSUE #640]</a> fix PullInterval unit. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/643" target="_blank" rel="noopener noreferrer">[ISSUE #643]</a> fix crash on selecting queue. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/636" target="_blank" rel="noopener noreferrer">[ISSUE #635]</a> Improving decoding performance for remoting commands. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/665" target="_blank" rel="noopener noreferrer">[ISSUE #662]</a> Fix the usage bug of namespace. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/652" target="_blank" rel="noopener noreferrer">[ISSUE #651]</a> fix an issue where a map read operation was not protected by the lock.</li><li><a href="https://github.com/apache/rocketmq-client-go/pull/677" target="_blank" rel="noopener noreferrer">[ISSUE #678]</a> optimizing goroutine of Stat creation. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/680" target="_blank" rel="noopener noreferrer">[ISSUE #680]</a> wrap topic with namespace when unsubscribe. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/586" target="_blank" rel="noopener noreferrer">[ISSUE #585]</a> Fix the wrong StoreHost and GroupName with consume trace message. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/642" target="_blank" rel="noopener noreferrer">[ISSUE #614]</a> Fix go routine leaks when consumer close with msg channel blocked.</li><li><a href="https://github.com/apache/rocketmq-client-go/pull/689" target="_blank" rel="noopener noreferrer">[ISSUE #694]</a> Fix typos.</li><li><a href="https://github.com/apache/rocketmq-client-go/pull/684" target="_blank" rel="noopener noreferrer">[ISSUE #683]</a> request parameter type error fix. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/641" target="_blank" rel="noopener noreferrer">[ISSUE #695]</a> Feat: support IPV6. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/632" target="_blank" rel="noopener noreferrer">[ISSUE #631]</a> Support Consuming from Slave. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/697" target="_blank" rel="noopener noreferrer">[ISSUE #688]</a> fix: type assert panic. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/691" target="_blank" rel="noopener noreferrer">[ISSUE #698]</a> fix: call cancel() as soon as possible to release the resources associatd with context.</li><li><a href="https://github.com/apache/rocketmq-client-go/pull/700" target="_blank" rel="noopener noreferrer">[ISSUE #637]</a> Fix filter lookback interface for utils.ClientIP. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/660" target="_blank" rel="noopener noreferrer">[ISSUE #659]</a> make consumeMessageBatchMaxSize default value consistent with java client. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/702" target="_blank" rel="noopener noreferrer">[ISSUE #701]</a> Fix timeout of SendAsync. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/704" target="_blank" rel="noopener noreferrer">[ISSUE #704]</a> add missing log level fatal. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/682" target="_blank" rel="noopener noreferrer">[ISSUE #681]</a> feat(internal): support reset consumer offset. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/709" target="_blank" rel="noopener noreferrer">[ISSUE #710]</a> Fix send duplicate message in trace interceptor. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/706" target="_blank" rel="noopener noreferrer">[ISSUE #595]</a> Update go.mod. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/714" target="_blank" rel="noopener noreferrer">[ISSUE #699]</a> Fix the bug caused by master broker node is down. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/712" target="_blank" rel="noopener noreferrer">[ISSUE #712]</a> fix push_consumer#unsubscribe unsubscribe retry. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/717" target="_blank" rel="noopener noreferrer">[ISSUE #716]</a> Fix the bug caused in HA cluster in pull_consumer.</li><li><a href="https://github.com/apache/rocketmq-client-go/pull/720" target="_blank" rel="noopener noreferrer">[ISSUE #720]</a> set subversion when buildSubscriptionData. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/723" target="_blank" rel="noopener noreferrer">[ISSUE #722]</a> fix the bug caused by failover in consumer. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/708" target="_blank" rel="noopener noreferrer">[ISSUE #735]</a> centralized management errors. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/732" target="_blank" rel="noopener noreferrer">[ISSUE #731]</a> Optimize the update offset logic. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/693" target="_blank" rel="noopener noreferrer">[ISSUE #650]</a> fix: correctly mark messages to be reconsumed. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/743" target="_blank" rel="noopener noreferrer">[ISSUE #744]</a> check multiple topics in one batch. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/753" target="_blank" rel="noopener noreferrer">[ISSUE #752]</a> change argument to pointer-like to avoid allocations. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/758" target="_blank" rel="noopener noreferrer">[ISSUE #757]</a> Fix GetHeader type conflict. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/756" target="_blank" rel="noopener noreferrer">[ISSUE #726]</a> feat: replace fmt to rlog. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/765" target="_blank" rel="noopener noreferrer">[ISSUE #759]</a> Change ResetOffsetBody response parse method to support fastjson schema. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/775" target="_blank" rel="noopener noreferrer">[ISSUE #775]</a> update gjson for security problem. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/779" target="_blank" rel="noopener noreferrer">[ISSUE #778]</a> Build instance name with nanosecond. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/788" target="_blank" rel="noopener noreferrer">[ISSUE #788]</a> Refactor the client instance struct,converge the namesrv module. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/805" target="_blank" rel="noopener noreferrer">[ISSUE #806]</a> Fix the feature that GetNamesrv. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/808" target="_blank" rel="noopener noreferrer">[ISSUE #807]</a> fix code style. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/816" target="_blank" rel="noopener noreferrer">[ISSUE #816]</a> fix long time block when remote endpoint crash. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/679" target="_blank" rel="noopener noreferrer">[ISSUE #818]</a> fix msg.Body compressed cause error in transaction message processing. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/824" target="_blank" rel="noopener noreferrer">[ISSUE #824]</a> fix queueMaxSpanFlowControlTimes not change. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/829" target="_blank" rel="noopener noreferrer">[ISSUE #828]</a> Support rlog rotate. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/826" target="_blank" rel="noopener noreferrer">[ISSUE #827]</a> Support get consumerRunningInfo return goroutine stack. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/825" target="_blank" rel="noopener noreferrer">[ISSUE #825]</a> fix some params for consumer can not be changed. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/809" target="_blank" rel="noopener noreferrer">[ISSUE #810]</a> fix async producer example.</li><li><a href="https://github.com/apache/rocketmq-client-go/pull/803" target="_blank" rel="noopener noreferrer">[ISSUE #803]</a> Feat/rpc request. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/833" target="_blank" rel="noopener noreferrer">[ISSUE #832]</a> Client may submit wrong offset when network instability. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/841" target="_blank" rel="noopener noreferrer">[ISSUE #823]</a> fix: panic problem caused by json-iterator in go1.18. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/773" target="_blank" rel="noopener noreferrer">[ISSUE #773]</a> fix(sendOneWay): fix stack overflow caused by recursive calls. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/852" target="_blank" rel="noopener noreferrer">[ISSUE #852]</a> bugfix rebalance is not paused after suspend and rebalance not trigge. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/858" target="_blank" rel="noopener noreferrer">[ISSUE #858]</a> feat: exchange messages_utils dir. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/857" target="_blank" rel="noopener noreferrer">[ISSUE #857]</a> selectMessageQueue nil *internal.TopicPublishInfo. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/856" target="_blank" rel="noopener noreferrer">[ISSUE #774]</a> Avoid cancel context too early cause trace data fail. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/629" target="_blank" rel="noopener noreferrer">[ISSUE #628]</a> takeMessages sleep max 5s. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/820" target="_blank" rel="noopener noreferrer">[ISSUE #819]</a> Fix sis.samplingInSeconds and sis.printAtMinutes() running in different goroutines cause DATA RACE. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/783" target="_blank" rel="noopener noreferrer">[ISSUE #783]</a> Maybe can remove some useless code in encodeBatch(). </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/837" target="_blank" rel="noopener noreferrer">[ISSUE #847]</a> fix primitive.WithMethod ctx transfer. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/834" target="_blank" rel="noopener noreferrer">[ISSUE #840]</a> consumer consume include tag according to accumulation. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/812" target="_blank" rel="noopener noreferrer">[ISSUE #813]</a> Fix bug when get <code>mqadmin consumerStatus</code> can&#x27;t get consume status. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/851" target="_blank" rel="noopener noreferrer">[ISSUE #851]</a> compare slice length directly. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/814" target="_blank" rel="noopener noreferrer">[ISSUE #814]</a> fix pullThresholdSizeForTopic invalid. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/849" target="_blank" rel="noopener noreferrer">[ISSUE #849]</a> add some methods for pushConsumer. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/844" target="_blank" rel="noopener noreferrer">[ISSUE #843]</a> fix request offset will not be changed in some case. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/854" target="_blank" rel="noopener noreferrer">[ISSUE #854]</a> a little improvement use chan instead. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/860" target="_blank" rel="noopener noreferrer">[ISSUE #797]</a> Fix msg lost if consumer crash when send msg back failed. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/859" target="_blank" rel="noopener noreferrer">[ISSUE #754]</a> close msgCh when pq dropped.</li><li><a href="https://github.com/apache/rocketmq-client-go/pull/865" target="_blank" rel="noopener noreferrer">[ISSUE #780]</a> avoid sendmessage back with origin message body in request. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/729" target="_blank" rel="noopener noreferrer">[ISSUE #728]</a> client shutdown abnormally. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/868" target="_blank" rel="noopener noreferrer">[ISSUE #864]</a> update rlog to 1.9.0 to fix CVE-2022-29526 in golang.org/x/sys. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/867" target="_blank" rel="noopener noreferrer">[ISSUE #869]</a> Fix: Consumer api comments. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/866" target="_blank" rel="noopener noreferrer">[ISSUE #790]</a> use uber atomic lib to avoid atomic value data race. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/871" target="_blank" rel="noopener noreferrer">[ISSUE #870]</a> add license header for some new files. </li><li><a href="https://github.com/apache/rocketmq-client-go/pull/873" target="_blank" rel="noopener noreferrer">[ISSUE #872]</a> fix code coverage shell error in travis ci yml.</li></ul></div><footer class="row docusaurus-mt-lg blogPostFooterDetailsFull_mRVl"><div class="col"><b>Tags:</b><ul class="tags_jXut padding--none margin-left--sm"><li class="tag_QGVx"><a class="tag_zVej tagRegular_sFm0" href="/release-notes/tags/rocket-mq-client-go">RocketMQ_Client_Go</a></li></ul></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Blog post page navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/release-notes/2022/09/09/5.0.0"><div class="pagination-nav__sublabel">Newer Post</div><div class="pagination-nav__label">Release Notes - Apache RocketMQ - Version 5.0.0</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/release-notes/2022/04/18/release-notes-rocketmq-streams-1.0.1-preview"><div class="pagination-nav__sublabel">Older Post</div><div class="pagination-nav__label">Release Notes - Apache RocketMQ Streams - Version 1.0.1-preview</div></a></nav></main><div class="col col--2"><div class="tableOfContents_bqdL thin-scrollbar"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#whats-changed" class="table-of-contents__link toc-highlight">What&#39;s Changed</a></li></ul></div></div></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Learn</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/docs/domainModel/01main">Introduction</a></li><li class="footer__item"><a class="footer__link-item" href="/docs/quickStart/01quickstart">Installation</a></li><li class="footer__item"><a class="footer__link-item" href="/version">Migration from 4.x to 5.0</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://twitter.com/ApacheRocketMQ" target="_blank" rel="noopener noreferrer" class="footer__link-item">Twitter<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://github.com/apache/rocketmq" target="_blank" rel="noopener noreferrer" class="footer__link-item">Github</a></li><li class="footer__item"><a href="https://github.com/apache/rocketmq" target="_blank" rel="noopener noreferrer" class="footer__link-item">Help</a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/blog">Blog</a></li><li class="footer__item"><a class="footer__link-item" href="/release-notes">Changelog</a></li><li class="footer__item"><a href="https://github.com/apache/rocketmq" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://twitter.com/docusaurus" target="_blank" rel="noopener noreferrer" class="footer__link-item">Twitter<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">Legal</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://www.apache.org/licenses/" target="_blank" rel="noopener noreferrer" class="footer__link-item">Licenses<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://www.apache.org/security/" target="_blank" rel="noopener noreferrer" class="footer__link-item">Security<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://www.apache.org/foundation/thanks.html" target="_blank" rel="noopener noreferrer" class="footer__link-item">Thanks<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://www.apache.org/foundation/sponsorship.html" target="_blank" rel="noopener noreferrer" class="footer__link-item">Sponsorship<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="margin-bottom--sm"><a href="https://rocketmq.apache.org/" rel="noopener noreferrer" class="footerLogoLink_BH7S"><img src="/img/Apache_RocketMQ_logo.svg.png" alt="Meta Open Source Logo" class="themedImage_ToTc themedImage--light_HNdA footer__logo"><img src="/img/Apache_RocketMQ_logo.svg.png" alt="Meta Open Source Logo" class="themedImage_ToTc themedImage--dark_i4oU footer__logo"></a></div><div class="footer__copyright">Copyright © 2022 The Apache Software Foundation. Licensed under the Apache License, Version 2.0.</div></div></div></footer></div>
<script src="/assets/js/runtime~main.9fb1bb92.js"></script>
<script src="/assets/js/main.db9ae330.js"></script>
</body>
</html>