http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/93c5936c/content/docs/order-example/index.html
----------------------------------------------------------------------
diff --cc content/docs/order-example/index.html
index 23365f5,0000000..daff296
mode 100644,000000..100644
--- a/content/docs/order-example/index.html
+++ b/content/docs/order-example/index.html
@@@ -1,674 -1,0 +1,674 @@@
 +<!doctype html>
 +<html lang="en" class="no-js">
 +  <head>
 +    <meta charset="utf-8">
 +
 +<!-- begin SEO -->
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +<title>Order Message  - Apache RocketMQ</title>
 +
 +
 +
 +
 +<meta name="description" content="How to send and receive ordered messages in 
Apache RocketMQ.">
 +
 +
 +
 +
 +<meta property="og:locale" content="en">
 +<meta property="og:site_name" content="Apache RocketMQ">
 +<meta property="og:title" content="Order Message">
 +
 +
 +
 +
 +  <meta property="og:description" content="How to send and receive ordered 
messages in Apache RocketMQ.">
 +
 +
 +
 +  <meta name="twitter:site" content="@ApacheRocketMQ">
 +  <meta name="twitter:title" content="Order Message">
 +  <meta name="twitter:description" content="How to send and receive ordered 
messages in Apache RocketMQ.">
 +  <meta name="twitter:url" content="">
 +
 +  
 +    <meta name="twitter:card" content="summary">
 +    
 +  
 +
 +  
 +
 +
 +
 +  
 +
 +  
 +
 +
 +
 +
 +
 +  <meta property="og:type" content="article">
-   <meta property="article:published_time" content="2017-04-25T01:02:11+08:00">
++  <meta property="article:published_time" content="2017-04-25T01:06:24+08:00">
 +
 +
 +
 +
 +
 +
 +
 +
 +  <script type="application/ld+json">
 +    {
 +      "@context" : "http://schema.org";,
 +      "@type" : "Person",
 +      "name" : "Apache RocketMQ",
 +      "url" : null,
 +      "sameAs" : null
 +    }
 +  </script>
 +
 +
 +
 +  <meta name="google-site-verification" 
content="aand0XZkSGsziuC-UPD4ZJniFD0m0JhGx6820y2mAQY" />
 +
 +
 +  <meta name="baidu-site-verification" content="wD06EbDRkQ" />
 +
 +
 +
 +
 +<!-- end SEO -->
 +
 +
 +<link href="/feed.xml" type="application/atom+xml" rel="alternate" 
title="Apache RocketMQ Feed">
 +
 +<!-- http://t.co/dKP3o1e -->
 +<meta name="HandheldFriendly" content="True">
 +<meta name="MobileOptimized" content="320">
 +<meta name="viewport" content="width=device-width, initial-scale=1.0">
 +
 +<script>
 +  document.documentElement.className = 
document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
 +</script>
 +
 +<!-- For all browsers -->
 +<link rel="stylesheet" href="/assets/css/main.css">
 +
 +<meta http-equiv="cleartype" content="on">
 +    <!-- start custom head snippets -->
 +
 +<!-- insert favicons. use http://realfavicongenerator.net/ -->
 +
 +<!-- end custom head snippets -->
 +  </head>
 +
 +  <body class="layout--single">
 +
 +    <!--[if lt IE 9]>
 +<div class="notice--danger align-center" style="margin: 0;">You are using an 
<strong>outdated</strong> browser. Please <a 
href="http://browsehappy.com/";>upgrade your browser</a> to improve your 
experience.</div>
 +<![endif]-->
 +    <div class="masthead">
 +  <div class="masthead__inner-wrap">
 +    <div class="masthead__menu">
 +      <nav id="site-nav" class="greedy-nav">
 +        <button><div class="navicon"></div></button>
 +        <ul class="visible-links">
 +          <li class="masthead__menu-item masthead__menu-item--lg"><a 
href="/">Apache RocketMQ</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/docs/quick-start/">Documentation</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/year-archive/">Blog</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/community/">Community</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/customer/">Customer</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/about/team/">About</a></li>
 +          
 +        </ul>
 +        <ul class="hidden-links hidden"></ul>
 +      </nav>
 +    </div>
 +  </div>
 +</div>
 +
 +    
 +
 +
 +
 +<div id="main" role="main">
 +  
 +  <div class="sidebar sticky">
 +  
 +  
 +    
 +      
 +      
 +      
 +    
 +    
 +      
 +
 +<nav class="nav__list">
 +  
 +  <input id="ac-toc" name="accordion-toc" type="checkbox" />
 +  <label for="ac-toc">Toggle Menu</label>
 +  <ul class="nav__items">
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">User Guide</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/quick-start/" class="">Quick Start</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/motivation/" class="">Why RocketMQ</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/simple-example/" class="">Simple 
Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/order-example/" class="active">Order 
Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/broadcast-example/" class="">Broadcasting 
Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/schedule-example/" class="">Schedule 
Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/batch-example/" class="">Batch Example</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Deployment & Operations</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/rmq-arc/" class="">Architecture</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/rmq-deployment/" class="">Deployment</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/cli-admin-tool/" class="">CLI Admin 
Tool</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Contributor Guide</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/code-guidelines/" class="">Code 
Guidelines</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/pull-request/" class="">Pull Request</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/release-manual" class="">Release 
Manual</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Best Practice</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/core-concept/" class="">Core Concept</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-broker/" class="">Broker</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-producer/" 
class="">Producer</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-consumer/" 
class="">Consumer</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-namesvr/" 
class="">NameServer</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Release Notes</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/dowloading/releases/" class="">Download</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/release_notes/release-notes-4.0.0-incubating/" 
class="">4.0.0-incubating</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          
 +          
 +
 +          <a href="/docs/roadmap/"><span 
class="nav__sub-title">RoadMap</span></a>
 +        
 +
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          
 +          
 +
 +          <a href="/docs/faq/"><span class="nav__sub-title">FAQ</span></a>
 +        
 +
 +        
 +      </li>
 +    
 +  </ul>
 +</nav>
 +    
 +  
 +  </div>
 +
 +
 +  <article class="page" itemscope itemtype="http://schema.org/CreativeWork";>
 +    <meta itemprop="headline" content="Order Message">
 +    <meta itemprop="description" content="How to send and receive ordered 
messages in Apache RocketMQ.">
 +    <meta itemprop="datePublished" content="April 25, 2017">
 +    <meta itemprop="dateModified" content="April 25, 2017">
 +
 +    <div class="page__inner-wrap">
 +      
 +        <header>
 +          <h1 class="page__title" itemprop="headline">Order Message
 +</h1>
 +          
 +        </header>
 +      
 +
 +      <section class="page__content" itemprop="text">
 +        <aside class="sidebar__right">
 +<nav class="toc">
 +    <header><h4 class="nav__title"><i class="fa fa-file-text"></i> On This 
Page</h4></header>
 +<ul class="toc__menu" id="markdown-toc">
 +  <li><a href="#send-message-sample-code" 
id="markdown-toc-send-message-sample-code">Send message sample code</a></li>
 +  <li><a href="#subscription-message-sample-code" 
id="markdown-toc-subscription-message-sample-code">Subscription message sample 
code</a></li>
 +</ul>
 +
 +  </nav>
 +</aside>
 +
 +<p>To send and subscribe to order messages, use Java MQ SDK 1.2.7 and above. 
The sequential message is a kind of message type which is provided by MQ 
according to the order, which is suitable for the news release and consumption 
according to the principle of fifo.</p>
 +
 +<p>For more information, please refer to the sequential message file. 
 +The global order message and the partition order message send and receive the 
way to be the same basically, please refer to the following example code 
specifically.</p>
 +
 +<h4 id="send-message-sample-code">Send message sample code</h4>
 +
 +<div class="language-java highlighter-rouge"><pre 
class="highlight"><code><span class="k">try</span> <span class="o">{</span>
 +    <span class="n">MQProducer</span> <span class="n">producer</span> <span 
class="o">=</span> <span class="k">new</span> <span 
class="n">DefaultMQProducer</span><span class="o">(</span><span 
class="s">"please_rename_unique_group_name"</span><span class="o">);</span>
 +    <span class="n">producer</span><span class="o">.</span><span 
class="na">start</span><span class="o">();</span>
 +
 +    <span class="n">String</span><span class="o">[]</span> <span 
class="n">tags</span> <span class="o">=</span> <span class="k">new</span> <span 
class="n">String</span><span class="o">[]</span> <span class="o">{</span><span 
class="s">"TagA"</span><span class="o">,</span> <span 
class="s">"TagB"</span><span class="o">,</span> <span 
class="s">"TagC"</span><span class="o">,</span> <span 
class="s">"TagD"</span><span class="o">,</span> <span 
class="s">"TagE"</span><span class="o">};</span>
 +    <span class="k">for</span> <span class="o">(</span><span 
class="kt">int</span> <span class="n">i</span> <span class="o">=</span> <span 
class="mi">0</span><span class="o">;</span> <span class="n">i</span> <span 
class="o">&lt;</span> <span class="mi">100</span><span class="o">;</span> <span 
class="n">i</span><span class="o">++)</span> <span class="o">{</span>
 +        <span class="kt">int</span> <span class="n">orderId</span> <span 
class="o">=</span> <span class="n">i</span> <span class="o">%</span> <span 
class="mi">10</span><span class="o">;</span>
 +        <span class="n">Message</span> <span class="n">msg</span> <span 
class="o">=</span>
 +            <span class="k">new</span> <span class="nf">Message</span><span 
class="o">(</span><span class="s">"TopicTestjjj"</span><span class="o">,</span> 
<span class="n">tags</span><span class="o">[</span><span class="n">i</span> 
<span class="o">%</span> <span class="n">tags</span><span 
class="o">.</span><span class="na">length</span><span class="o">],</span> <span 
class="s">"KEY"</span> <span class="o">+</span> <span class="n">i</span><span 
class="o">,</span>
 +                <span class="o">(</span><span class="s">"Hello RocketMQ 
"</span> <span class="o">+</span> <span class="n">i</span><span 
class="o">).</span><span class="na">getBytes</span><span 
class="o">(</span><span class="n">RemotingHelper</span><span 
class="o">.</span><span class="na">DEFAULT_CHARSET</span><span 
class="o">));</span>
 +        <span class="n">SendResult</span> <span class="n">sendResult</span> 
<span class="o">=</span> <span class="n">producer</span><span 
class="o">.</span><span class="na">send</span><span class="o">(</span><span 
class="n">msg</span><span class="o">,</span> <span class="k">new</span> <span 
class="n">MessageQueueSelector</span><span class="o">()</span> <span 
class="o">{</span>
 +            <span class="nd">@Override</span>
 +            <span class="kd">public</span> <span 
class="n">MessageQueue</span> <span class="nf">select</span><span 
class="o">(</span><span class="n">List</span><span class="o">&lt;</span><span 
class="n">MessageQueue</span><span class="o">&gt;</span> <span 
class="n">mqs</span><span class="o">,</span> <span class="n">Message</span> 
<span class="n">msg</span><span class="o">,</span> <span 
class="n">Object</span> <span class="n">arg</span><span class="o">)</span> 
<span class="o">{</span>
 +                <span class="n">Integer</span> <span class="n">id</span> 
<span class="o">=</span> <span class="o">(</span><span 
class="n">Integer</span><span class="o">)</span> <span 
class="n">arg</span><span class="o">;</span>
 +                <span class="kt">int</span> <span class="n">index</span> 
<span class="o">=</span> <span class="n">id</span> <span class="o">%</span> 
<span class="n">mqs</span><span class="o">.</span><span 
class="na">size</span><span class="o">();</span>
 +                <span class="k">return</span> <span class="n">mqs</span><span 
class="o">.</span><span class="na">get</span><span class="o">(</span><span 
class="n">index</span><span class="o">);</span>
 +            <span class="o">}</span>
 +        <span class="o">},</span> <span class="n">orderId</span><span 
class="o">);</span>
 +
 +        <span class="n">System</span><span class="o">.</span><span 
class="na">out</span><span class="o">.</span><span 
class="na">printf</span><span class="o">(</span><span 
class="s">"%s%n"</span><span class="o">,</span> <span 
class="n">sendResult</span><span class="o">);</span>
 +    <span class="o">}</span>
 +
 +    <span class="n">producer</span><span class="o">.</span><span 
class="na">shutdown</span><span class="o">();</span>
 +<span class="o">}</span> <span class="k">catch</span> <span 
class="o">(</span><span class="n">MQClientException</span> <span 
class="o">|</span> <span class="n">RemotingException</span> <span 
class="o">|</span> <span class="n">MQBrokerException</span> <span 
class="o">|</span> <span class="n">InterruptedException</span> <span 
class="n">e</span><span class="o">)</span> <span class="o">{</span>
 +    <span class="n">e</span><span class="o">.</span><span 
class="na">printStackTrace</span><span class="o">();</span>
 +<span class="o">}</span>
 +</code></pre>
 +</div>
 +
 +<h4 id="subscription-message-sample-code">Subscription message sample 
code</h4>
 +
 +<div class="language-java highlighter-rouge"><pre 
class="highlight"><code><span class="n">DefaultMQPushConsumer</span> <span 
class="n">consumer</span> <span class="o">=</span> <span class="k">new</span> 
<span class="n">DefaultMQPushConsumer</span><span class="o">(</span><span 
class="s">"please_rename_unique_group_name_3"</span><span class="o">);</span>
 +
 +<span class="n">consumer</span><span class="o">.</span><span 
class="na">setConsumeFromWhere</span><span class="o">(</span><span 
class="n">ConsumeFromWhere</span><span class="o">.</span><span 
class="na">CONSUME_FROM_FIRST_OFFSET</span><span class="o">);</span>
 +
 +<span class="n">consumer</span><span class="o">.</span><span 
class="na">subscribe</span><span class="o">(</span><span 
class="s">"TopicTest"</span><span class="o">,</span> <span class="s">"TagA || 
TagC || TagD"</span><span class="o">);</span>
 +
 +<span class="n">consumer</span><span class="o">.</span><span 
class="na">registerMessageListener</span><span class="o">(</span><span 
class="k">new</span> <span class="n">MessageListenerOrderly</span><span 
class="o">()</span> <span class="o">{</span>
 +
 +    <span class="n">AtomicLong</span> <span class="n">consumeTimes</span> 
<span class="o">=</span> <span class="k">new</span> <span 
class="n">AtomicLong</span><span class="o">(</span><span 
class="mi">0</span><span class="o">);</span>
 +    <span class="nd">@Override</span>
 +    <span class="kd">public</span> <span 
class="n">ConsumeOrderlyStatus</span> <span 
class="nf">consumeMessage</span><span class="o">(</span><span 
class="n">List</span><span class="o">&lt;</span><span 
class="n">MessageExt</span><span class="o">&gt;</span> <span 
class="n">msgs</span><span class="o">,</span>
 +                                               <span 
class="n">ConsumeOrderlyContext</span> <span class="n">context</span><span 
class="o">)</span> <span class="o">{</span>
 +        <span class="n">context</span><span class="o">.</span><span 
class="na">setAutoCommit</span><span class="o">(</span><span 
class="kc">false</span><span class="o">);</span>
 +        <span class="n">System</span><span class="o">.</span><span 
class="na">out</span><span class="o">.</span><span 
class="na">printf</span><span class="o">(</span><span 
class="n">Thread</span><span class="o">.</span><span 
class="na">currentThread</span><span class="o">().</span><span 
class="na">getName</span><span class="o">()</span> <span class="o">+</span> 
<span class="s">" Receive New Messages: "</span> <span class="o">+</span> <span 
class="n">msgs</span> <span class="o">+</span> <span class="s">"%n"</span><span 
class="o">);</span>
 +        <span class="k">this</span><span class="o">.</span><span 
class="na">consumeTimes</span><span class="o">.</span><span 
class="na">incrementAndGet</span><span class="o">();</span>
 +        <span class="k">if</span> <span class="o">((</span><span 
class="k">this</span><span class="o">.</span><span 
class="na">consumeTimes</span><span class="o">.</span><span 
class="na">get</span><span class="o">()</span> <span class="o">%</span> <span 
class="mi">2</span><span class="o">)</span> <span class="o">==</span> <span 
class="mi">0</span><span class="o">)</span> <span class="o">{</span>
 +            <span class="k">return</span> <span 
class="n">ConsumeOrderlyStatus</span><span class="o">.</span><span 
class="na">SUCCESS</span><span class="o">;</span>
 +        <span class="o">}</span> <span class="k">else</span> <span 
class="k">if</span> <span class="o">((</span><span class="k">this</span><span 
class="o">.</span><span class="na">consumeTimes</span><span 
class="o">.</span><span class="na">get</span><span class="o">()</span> <span 
class="o">%</span> <span class="mi">3</span><span class="o">)</span> <span 
class="o">==</span> <span class="mi">0</span><span class="o">)</span> <span 
class="o">{</span>
 +            <span class="k">return</span> <span 
class="n">ConsumeOrderlyStatus</span><span class="o">.</span><span 
class="na">ROLLBACK</span><span class="o">;</span>
 +        <span class="o">}</span> <span class="k">else</span> <span 
class="k">if</span> <span class="o">((</span><span class="k">this</span><span 
class="o">.</span><span class="na">consumeTimes</span><span 
class="o">.</span><span class="na">get</span><span class="o">()</span> <span 
class="o">%</span> <span class="mi">4</span><span class="o">)</span> <span 
class="o">==</span> <span class="mi">0</span><span class="o">)</span> <span 
class="o">{</span>
 +            <span class="k">return</span> <span 
class="n">ConsumeOrderlyStatus</span><span class="o">.</span><span 
class="na">COMMIT</span><span class="o">;</span>
 +        <span class="o">}</span> <span class="k">else</span> <span 
class="k">if</span> <span class="o">((</span><span class="k">this</span><span 
class="o">.</span><span class="na">consumeTimes</span><span 
class="o">.</span><span class="na">get</span><span class="o">()</span> <span 
class="o">%</span> <span class="mi">5</span><span class="o">)</span> <span 
class="o">==</span> <span class="mi">0</span><span class="o">)</span> <span 
class="o">{</span>
 +            <span class="n">context</span><span class="o">.</span><span 
class="na">setSuspendCurrentQueueTimeMillis</span><span class="o">(</span><span 
class="mi">3000</span><span class="o">);</span>
 +            <span class="k">return</span> <span 
class="n">ConsumeOrderlyStatus</span><span class="o">.</span><span 
class="na">SUSPEND_CURRENT_QUEUE_A_MOMENT</span><span class="o">;</span>
 +        <span class="o">}</span>
 +        <span class="k">return</span> <span 
class="n">ConsumeOrderlyStatus</span><span class="o">.</span><span 
class="na">SUCCESS</span><span class="o">;</span>
 +
 +    <span class="o">}</span>
 +<span class="o">});</span>
 +
 +<span class="n">consumer</span><span class="o">.</span><span 
class="na">start</span><span class="o">();</span>
 +
 +<span class="n">System</span><span class="o">.</span><span 
class="na">out</span><span class="o">.</span><span 
class="na">printf</span><span class="o">(</span><span class="s">"Consumer 
Started.%n"</span><span class="o">);</span>
 +</code></pre>
 +</div>
 +
 +
 +        
 +      </section>
 +
 +      <footer class="page__meta">
 +        
 +        
 +
 +
 +        
 +          <p class="page__date"><strong><i class="fa fa-fw fa-calendar" 
aria-hidden="true"></i> Updated:</strong> <time datetime="2017-04-25">April 25, 
2017</time></p>
 +        
 +      </footer>
 +
 +      <section class="page__share">
 +  
 +    <h4 class="page__share-title">Share on</h4>
 +  
 +
 +  <a href="https://twitter.com/intent/tweet?via=ApacheRocketMQ&text=Order 
Message  /docs/order-example/" class="btn btn--twitter" title="Share on 
Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> 
Twitter</span></a>
 +
 +  <a href="https://www.facebook.com/sharer/sharer.php?u=/docs/order-example/"; 
class="btn btn--facebook" title="Share on Facebook"><i class="fa fa-fw 
fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
 +
 +  <a href="https://plus.google.com/share?url=/docs/order-example/"; class="btn 
btn--google-plus" title="Share on Google Plus"><i class="fa fa-fw 
fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
 +
 +  <a 
href="https://www.linkedin.com/shareArticle?mini=true&url=/docs/order-example/"; 
class="btn btn--linkedin" title="Share on LinkedIn"><i class="fa fa-fw 
fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
 +</section>
 +
 +
 +      
 +  <nav class="pagination">
 +    
 +      <a href="/docs/rmq-deployment/" class="pagination--pager" 
title="Deployment
 +">Previous</a>
 +    
 +    
 +      <a href="/docs/rmq-arc/" class="pagination--pager" title="RocketMQ 
Architecture
 +">Next</a>
 +    
 +  </nav>
 +
 +    </div>
 +
 +    
 +      <div class="page__comments">
 +  
 +  
 +    <h4 class="page__comments-title">Leave a Comment</h4>
 +    <section id="disqus_thread"></section>
 +  
 +</div>
 +    
 +  </article>
 +
 +  
 +  
 +</div>
 +
 +    <div class="page__footer">
 +      <footer>
 +        <!-- start custom footer snippets -->
 +
 +<!-- end custom footer snippets -->
 +        <style type="text/css">
 +  div.columns   { float: left; margin-left: 10px;}
 +  div.clear     { clear: both; } 
 +</style>
 +<div>
 +  <div class="columns">
 +    <a href="https://www.apache.org/";><img 
src="/assets/images/feather-small.gif" alt="Apache Software Foundation" 
style="height: 88px !important" /></a>
 +  </div>
 +  <div class="columns" style="width: 80%">
 +    <div class="page__footer-follow">
 +      <ul class="social-icons">
 +        
 +          <li><strong>Follow:</strong></li>
 +        
 +        
 +          <li><a href="https://twitter.com/ApacheRocketMQ";><i class="fa fa-fw 
fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
 +        
 +        
 +        
 +          <li><a href="http://github.com/apache/incubator-rocketmq";><i 
class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
 +        
 +        
 +        <li><a href="/feed.xml"><i class="fa fa-fw fa-rss-square" 
aria-hidden="true"></i> Feed</a></li>
 +      </ul>
 +    </div>
 +
 +    <div class="page__footer-copyright">Copyright &copy; 2017 <a 
href="http://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</div>
 +  </div>
 +</div>
 +<div class="clear"></div>
 +      </footer>
 +    </div>
 +
 +    <script src="/assets/js/main.min.js"></script>
 +
 +
 +
 +
 +  <script>
 +  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
 +  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new 
Date();a=s.createElement(o),
 +  
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
 +  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 +
 +  ga('create', 'UA-89603173-1', 'auto');
 +  ga('send', 'pageview');
 +</script>
 +
 +<script>
 +var _hmt = _hmt || [];
 +(function() {
 +  var hm = document.createElement("script");
 +  hm.src = "https://hm.baidu.com/hm.js?36428f2b841d08e7405724cbf7f860d2";;
 +  var s = document.getElementsByTagName("script")[0]; 
 +  s.parentNode.insertBefore(hm, s);
 +})();
 +</script>
 +
 +
 +
 +
 +  
 +  <script type="text/javascript">
 +      /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * 
* */
 +      var disqus_shortname = 'rocketmq';
 +
 +      /* * * DON'T EDIT BELOW THIS LINE * * */
 +      (function() {
 +              var dsq = document.createElement('script'); dsq.type = 
'text/javascript'; dsq.async = true;
 +              dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
 +              (document.getElementsByTagName('head')[0] || 
document.getElementsByTagName('body')[0]).appendChild(dsq);
 +      })();
 +
 +      /* * * DON'T EDIT BELOW THIS LINE * * */
 +      (function () {
 +              var s = document.createElement('script'); s.async = true;
 +              s.type = 'text/javascript';
 +              s.src = '//' + disqus_shortname + '.disqus.com/count.js';
 +              (document.getElementsByTagName('HEAD')[0] || 
document.getElementsByTagName('BODY')[0]).appendChild(s);
 +      }());
 +  </script>
 +  <noscript>Please enable JavaScript to view the <a 
href="http://disqus.com/?ref_noscript";>comments powered by 
Disqus.</a></noscript>
 +
 +
 +
 +
 +
 +
 +  </body>
 +</html>

http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/93c5936c/content/docs/pull-request/index.html
----------------------------------------------------------------------
diff --cc content/docs/pull-request/index.html
index 5ce8ed9,0000000..98d7870
mode 100644,000000..100644
--- a/content/docs/pull-request/index.html
+++ b/content/docs/pull-request/index.html
@@@ -1,782 -1,0 +1,782 @@@
 +<!doctype html>
 +<html lang="en" class="no-js">
 +  <head>
 +    <meta charset="utf-8">
 +
 +<!-- begin SEO -->
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +<title>Best Practice in Pull Request - Apache RocketMQ</title>
 +
 +
 +
 +
 +<meta name="description" content="This page guides you through Git setup and 
contribution process.">
 +
 +
 +
 +
 +<meta property="og:locale" content="en">
 +<meta property="og:site_name" content="Apache RocketMQ">
 +<meta property="og:title" content="Best Practice in Pull Request">
 +
 +
 +
 +
 +  <meta property="og:description" content="This page guides you through Git 
setup and contribution process.">
 +
 +
 +
 +  <meta name="twitter:site" content="@ApacheRocketMQ">
 +  <meta name="twitter:title" content="Best Practice in Pull Request">
 +  <meta name="twitter:description" content="This page guides you through Git 
setup and contribution process.">
 +  <meta name="twitter:url" content="">
 +
 +  
 +    <meta name="twitter:card" content="summary">
 +    
 +  
 +
 +  
 +
 +
 +
 +  
 +
 +  
 +
 +
 +
 +
 +
 +  <meta property="og:type" content="article">
-   <meta property="article:published_time" content="2017-04-25T01:02:11+08:00">
++  <meta property="article:published_time" content="2017-04-25T01:06:24+08:00">
 +
 +
 +
 +
 +
 +
 +
 +
 +  <script type="application/ld+json">
 +    {
 +      "@context" : "http://schema.org";,
 +      "@type" : "Person",
 +      "name" : "Apache RocketMQ",
 +      "url" : null,
 +      "sameAs" : null
 +    }
 +  </script>
 +
 +
 +
 +  <meta name="google-site-verification" 
content="aand0XZkSGsziuC-UPD4ZJniFD0m0JhGx6820y2mAQY" />
 +
 +
 +  <meta name="baidu-site-verification" content="wD06EbDRkQ" />
 +
 +
 +
 +
 +<!-- end SEO -->
 +
 +
 +<link href="/feed.xml" type="application/atom+xml" rel="alternate" 
title="Apache RocketMQ Feed">
 +
 +<!-- http://t.co/dKP3o1e -->
 +<meta name="HandheldFriendly" content="True">
 +<meta name="MobileOptimized" content="320">
 +<meta name="viewport" content="width=device-width, initial-scale=1.0">
 +
 +<script>
 +  document.documentElement.className = 
document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
 +</script>
 +
 +<!-- For all browsers -->
 +<link rel="stylesheet" href="/assets/css/main.css">
 +
 +<meta http-equiv="cleartype" content="on">
 +    <!-- start custom head snippets -->
 +
 +<!-- insert favicons. use http://realfavicongenerator.net/ -->
 +
 +<!-- end custom head snippets -->
 +  </head>
 +
 +  <body class="layout--single">
 +
 +    <!--[if lt IE 9]>
 +<div class="notice--danger align-center" style="margin: 0;">You are using an 
<strong>outdated</strong> browser. Please <a 
href="http://browsehappy.com/";>upgrade your browser</a> to improve your 
experience.</div>
 +<![endif]-->
 +    <div class="masthead">
 +  <div class="masthead__inner-wrap">
 +    <div class="masthead__menu">
 +      <nav id="site-nav" class="greedy-nav">
 +        <button><div class="navicon"></div></button>
 +        <ul class="visible-links">
 +          <li class="masthead__menu-item masthead__menu-item--lg"><a 
href="/">Apache RocketMQ</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/docs/quick-start/">Documentation</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/year-archive/">Blog</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/community/">Community</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/customer/">Customer</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/about/team/">About</a></li>
 +          
 +        </ul>
 +        <ul class="hidden-links hidden"></ul>
 +      </nav>
 +    </div>
 +  </div>
 +</div>
 +
 +    
 +
 +
 +
 +<div id="main" role="main">
 +  
 +  <div class="sidebar sticky">
 +  
 +  
 +    
 +      
 +      
 +      
 +    
 +    
 +      
 +
 +<nav class="nav__list">
 +  
 +  <input id="ac-toc" name="accordion-toc" type="checkbox" />
 +  <label for="ac-toc">Toggle Menu</label>
 +  <ul class="nav__items">
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">User Guide</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/quick-start/" class="">Quick Start</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/motivation/" class="">Why RocketMQ</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/simple-example/" class="">Simple 
Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/order-example/" class="">Order Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/broadcast-example/" class="">Broadcasting 
Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/schedule-example/" class="">Schedule 
Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/batch-example/" class="">Batch Example</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Deployment & Operations</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/rmq-arc/" class="">Architecture</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/rmq-deployment/" class="">Deployment</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/cli-admin-tool/" class="">CLI Admin 
Tool</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Contributor Guide</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/code-guidelines/" class="">Code 
Guidelines</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/pull-request/" class="active">Pull 
Request</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/release-manual" class="">Release 
Manual</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Best Practice</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/core-concept/" class="">Core Concept</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-broker/" class="">Broker</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-producer/" 
class="">Producer</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-consumer/" 
class="">Consumer</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-namesvr/" 
class="">NameServer</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Release Notes</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/dowloading/releases/" class="">Download</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/release_notes/release-notes-4.0.0-incubating/" 
class="">4.0.0-incubating</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          
 +          
 +
 +          <a href="/docs/roadmap/"><span 
class="nav__sub-title">RoadMap</span></a>
 +        
 +
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          
 +          
 +
 +          <a href="/docs/faq/"><span class="nav__sub-title">FAQ</span></a>
 +        
 +
 +        
 +      </li>
 +    
 +  </ul>
 +</nav>
 +    
 +  
 +  </div>
 +
 +
 +  <article class="page" itemscope itemtype="http://schema.org/CreativeWork";>
 +    <meta itemprop="headline" content="Best Practice in Pull Request">
 +    <meta itemprop="description" content="This page guides you through Git 
setup and contribution process.">
 +    <meta itemprop="datePublished" content="April 25, 2017">
 +    <meta itemprop="dateModified" content="December 25, 2016">
 +
 +    <div class="page__inner-wrap">
 +      
 +        <header>
 +          <h1 class="page__title" itemprop="headline">Best Practice in Pull 
Request
 +</h1>
 +          
 +        </header>
 +      
 +
 +      <section class="page__content" itemprop="text">
 +        <p>This page guides you through Git setup and contribution 
process.</p>
 +
 +<aside class="sidebar__right">
 +<nav class="toc">
 +    <header><h4 class="nav__title"><i class="fa fa-file-text"></i> On This 
Page</h4></header>
 +<ul class="toc__menu" id="markdown-toc">
 +  <li><a href="#git-setup-for-contributors" 
id="markdown-toc-git-setup-for-contributors">Git setup for Contributors</a></li>
 +  <li><a href="#git-setup-for-committers" 
id="markdown-toc-git-setup-for-committers">Git setup for Committers</a></li>
 +  <li><a href="#do-some-work-on-the-branch" 
id="markdown-toc-do-some-work-on-the-branch">Do some work on the branch</a></li>
 +  <li><a href="#how-to-create-a-pr-committers" 
id="markdown-toc-how-to-create-a-pr-committers">How to create a PR 
(committers)</a></li>
 +  <li><a href="#how-to-create-a-pr-contributors" 
id="markdown-toc-how-to-create-a-pr-contributors">How to create a PR 
(contributors)</a></li>
 +  <li><a href="#merging-a-pr-yours-or-contributors" 
id="markdown-toc-merging-a-pr-yours-or-contributors">Merging a PR (yours or 
contributors)</a></li>
 +  <li><a href="#closing-a-pr-without-committing-for-committers" 
id="markdown-toc-closing-a-pr-without-committing-for-committers">Closing a PR 
without committing (for committers)</a></li>
 +  <li><a href="#apachegithub-integration-features" 
id="markdown-toc-apachegithub-integration-features">Apache/github integration 
features</a></li>
 +  <li><a href="#best-practises" id="markdown-toc-best-practises">Best 
Practises</a>    <ul>
 +      <li><a 
href="#avoiding-accidentally-committing-private-branches-to-the-asf-repo" 
id="markdown-toc-avoiding-accidentally-committing-private-branches-to-the-asf-repo">Avoiding
 accidentally committing private branches to the ASF repo</a></li>
 +    </ul>
 +  </li>
 +</ul>
 +
 +  </nav>
 +</aside>
 +
 +<h1 id="git-setup-for-contributors">Git setup for Contributors</h1>
 +<p>First of all, fork github’s <code 
class="highlighter-rouge">apache/incubator-rocketmq</code> to your own account 
on github and clone it as follows,</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git clone 
https://github.com/&lt;your_github_name&gt;/incubator-rocketmq.git
 +</code></pre>
 +</div>
 +
 +<p>Cloning this locally will set up <code 
class="highlighter-rouge">origin</code> to point to your remote fork on github 
as the default remote.
 +Now you can create your pull requests.</p>
 +
 +<p>You will need to update a local master sometimes (to merge to your 
development branches sometimes).
 +For this, you have to add remote for RocketMQ mirror as follows,</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git remote add 
upstream https://github.com/apache/incubator-rocketmq.git
 +</code></pre>
 +</div>
 +
 +<p>and update your local master via <code class="highlighter-rouge">git 
fetch</code> followed by <code class="highlighter-rouge">git rebase</code>, for 
instance, as follows</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git fetch 
upstream master
 +git rebase upstream/master
 +</code></pre>
 +</div>
 +
 +<h1 id="git-setup-for-committers">Git setup for Committers</h1>
 +<p>In addition to contributors’ configurations, committers will have to 
attach the apache git repo:</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git remote add 
apache https://git-wip-us.apache.org/repos/asf/incubator-rocketmq.git
 +</code></pre>
 +</div>
 +
 +<p>To check your remote setup, issue</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git remote -v
 +</code></pre>
 +</div>
 +
 +<p>You should see something like this:</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>origin    
https://github.com/&lt;your_github_name&gt;/incubator-rocketmq.git (fetch)
 +origin    https://github.com/&lt;your_github_name&gt;/incubator-rocketmq.git 
(push)
 +upstream  https://github.com/apache/incubator-rocketmq.git (fetch)
 +upstream  https://github.com/apache/incubator-rocketmq.git (push)
 +apache    https://git-wip-us.apache.org/repos/asf/incubator-rocketmq.git 
(fetch)
 +apache    https://git-wip-us.apache.org/repos/asf/incubator-rocketmq.git 
(push)
 +</code></pre>
 +</div>
 +
 +<p>Now if you want to experiment with a branch everything, by default, points 
to your github account because ‘origin’ is default. You can work as normal 
using only github until you are ready to merge with the apache remote. Some 
conventions will integrate with Apache JIRA ticket numbers.</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git checkout -b 
ROCKETMQ-xxxx #xxxx typically is a JIRA ticket number
 +</code></pre>
 +</div>
 +
 +<p><em>To guarantee code quality of the master branch, all but minor changes 
should go through pull requests reviewed by peer committers.</em></p>
 +
 +<h1 id="do-some-work-on-the-branch">Do some work on the branch</h1>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git commit -a -m 
"doing some work"
 +git push origin ROCKETMQ-xxxx # notice pushing to **origin** not **apache**
 +</code></pre>
 +</div>
 +
 +<p>Once you are ready to commit to the apache remote you can merge and push 
them directly or better yet create a PR.</p>
 +
 +<h1 id="how-to-create-a-pr-committers">How to create a PR (committers)</h1>
 +
 +<p>Push your branch to Github:</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git checkout 
ROCKETMQ-xxxx
 +git push origin ROCKETMQ-xxxx
 +</code></pre>
 +</div>
 +
 +<ol>
 +  <li>
 +    <p>Go to your ROCKETMQ-xxxx branch on Github. Since you forked it from 
Github’s apache/incubator-rocketmq. it will default any PR to go to 
apache/master.</p>
 +  </li>
 +  <li>Click the green “Compare, review, and create pull request” 
button.You can edit the to and from for the PR if it isn’t correct. The 
“base fork” should be apache/incubator-rocketmq unless you are 
collaborating separately with one of the committers on the list. The “base” 
will be master. Don’t submit a PR to one of the other branches unless you 
know what you are doing. The “head fork” will be your forked repo and the 
“compare” will be your ROCKETMQ-xxxx branch.</li>
 +  <li>Click the “Create pull request” button and name the request 
“ROCKETMQ-xxxx” all caps. This will connect the comments of the PR to the 
mailing list and JIRA comments.</li>
 +  <li>From now on the PR lives on github’s apache/incubator-rocketmq. You 
use the commenting UI there.</li>
 +  <li>If you are looking for a review or sharing with someone else say so in 
the comments but don’t worry about automated merging of your PR – you will 
have to do that later. The PR is tied to your branch so you can respond to 
comments, make fixes, and commit them from your local repo. They will appear on 
the PR page and be mirrored to Jira and the mailing list.</li>
 +  <li>When you are satisfied and want to push it to Apache’s remote repo 
proceed with Merging a PR</li>
 +</ol>
 +
 +<h1 id="how-to-create-a-pr-contributors">How to create a PR 
(contributors)</h1>
 +<p>Before you create a pull request, make sure</p>
 +<ol>
 +  <li>A corresponding <a 
href="https://issues.apache.org/jira/browse/ROCKETMQ/";>JIRA</a> issue is 
created and has a clear problem description.</li>
 +  <li>You follow <a href="/docs/code-guidelines/">Coding Guidelines</a>.</li>
 +  <li>You have unit tests for it, whenever applicable.</li>
 +</ol>
 +
 +<p>For information on creating pull requests, see <a 
href="https://help.github.com/articles/creating-a-pull-request/";>GitHub PR 
docs</a>.</p>
 +
 +<p>Pull requests are made to <code 
class="highlighter-rouge">apache/incubator-rocketmq</code> repository on 
Github. 
 +In the Github UI you should pick the master branch to target the PR as 
described in the section for committers. <br /> 
 +You pull request will be reviewed and commented by committers, and issues can 
be discussed the contribution in progress. When all reviewers are positive on 
the pull request, it will be merged.</p>
 +
 +<h1 id="merging-a-pr-yours-or-contributors">Merging a PR (yours or 
contributors)</h1>
 +<p>Start with reading <a 
href="https://help.github.com/articles/checking-out-pull-requests-locally/";>GitHub
 PR merging locally</a>. Remember that pull requests are equivalent to a remote 
github branch with potentially a multitude of commits. In this case it is 
recommended to squash remote commit history to have one commit per issue, 
rather than merging in a multitude of contributor’s commits. In order to do 
that, as well as close the PR at the same time, it is recommended to use squash 
commits.
 +Merging pull requests are equivalent to a “pull” of a contributor’s 
branch:</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git checkout 
master      # switch to local master branch
 +git pull apache master   # fast-forward to current remote HEAD
 +git pull --squash https://github.com/cuser/incubator-rocketmq.git 
ROCKETMQ-xxxx  # merge to master
 +</code></pre>
 +</div>
 +
 +<p><code class="highlighter-rouge">--squash</code> ensures all PR history is 
squashed into single commit, and allows committer to use his/her own message. 
Read git help for merge or pull for more information about <code 
class="highlighter-rouge">--squash</code> option. In this example we assume 
that the contributor’s Github handle is “cuser” and the PR branch name is 
“ROCKETMQ-xxxx”. Next, resolve conflicts, if any, or ask a contributor to 
rebase on top of master, if PR went out of sync.</p>
 +
 +<p>If you are ready to merge your own (committer’s) PR you probably only 
need to merge (not pull), since you have a local copy that you’ve been 
working on. This is the branch that you used to create the PR.</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git checkout 
master      # switch to local master branch
 +git pull apache master   # fast-forward to current remote HEAD
 +git merge --squash ROCKETMQ-xxxx
 +</code></pre>
 +</div>
 +
 +<p>Remember to run regular patch checks, build with tests enabled, and change 
CHANGELOG.
 +If everything is fine, you now can commit the squashed request along the 
lines</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git commit 
--author="contributor_name &lt;contributor_email&gt;" -a -m "ROCKETMQ-XXXX 
description closes apache/incubator-rocketmq#ZZ"
 +</code></pre>
 +</div>
 +
 +<p>ROCKETMQ-XXXX is all caps and where ZZ is the pull request number on 
apache/incubator-rocketmq repository. Including “closes 
apache/incubator-rocketmq#ZZ” will close the PR automatically. More 
information is found here <a 
href="https://help.github.com/articles/closing-issues-via-commit-messages/";>GitHub
 PR closing docs.</a>.
 +Next, push to git-wip-us.apache.org:</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git push apache 
master
 +</code></pre>
 +</div>
 +
 +<p>(this will require Apache handle credentials).
 +The PR, once pushed, will get mirrored to github. To update your github 
version push there too:</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git push origin 
master
 +</code></pre>
 +</div>
 +
 +<p>Note on squashing: Since squash discards remote branch history, repeated 
PRs from the same remote branch are difficult for merging. The workflow implies 
that every new PR starts with a new rebased branch. This is more important for 
contributors to know, rather than for committers, because if new PR is not 
mergeable, github would warn to begin with. Anyway, watch for dupe PRs (based 
on same source branches). This is a bad practice.</p>
 +
 +<h1 id="closing-a-pr-without-committing-for-committers">Closing a PR without 
committing (for committers)</h1>
 +<p>When we want to reject a PR (close without committing), we can just issue 
an empty commit on master’s HEAD without merging the PR:</p>
 +
 +<div class="highlighter-rouge"><pre class="highlight"><code>git commit 
--allow-empty -m "ROCKETMQ-XXXX closes apache/incubator-rocketmq#ZZ *Won't fix*"
 +git push apache master
 +</code></pre>
 +</div>
 +
 +<p>that should close PR ZZ on github mirror without merging and any code 
modifications in the master repository.more detail please refer to RocketMQ PR 
https://github.com/apache/incubator-rocketmq/pull/15</p>
 +
 +<h1 id="apachegithub-integration-features">Apache/github integration 
features</h1>
 +
 +<p>Read <a 
href="https://blogs.apache.org/infra/entry/improved_integration_between_apache_and";>infra
 blog</a>. Comments and PRs with RocketMQ issue handles should post to mailing 
lists and JIRA. RocketMQ issue handles must in the form ROCKETMQ-YYYYY (all 
capitals). Usually it makes sense to file a JIRA issue first, and then create a 
PR with description
 +ROCKETMQ-YYYY: <jira-issue-description>
 +In this case all subsequent comments will automatically be copied to jira 
without having to mention JIRA issue explicitly in each comment of the 
PR.</jira-issue-description></p>
 +
 +<h1 id="best-practises">Best Practises</h1>
 +
 +<h2 
id="avoiding-accidentally-committing-private-branches-to-the-asf-repo">Avoiding 
accidentally committing private branches to the ASF repo</h2>
 +
 +<p>Its dangerously easy —especially when using IDEs— to accidentally 
commit changes to the ASF repo, be it direct to the trunk, branch-2 or other 
standard branch on which you are developing, or to a private branch you had 
intended to keep on github (or a private repo).</p>
 +
 +<p>Committers can avoid this by having the directory in which they develop 
code set up with read only access to the ASF repository on github, without the 
apache repository added. A separate directory should be set up with write 
access to the ASF repository as well as read access to your other repositories. 
Merging operations and pushes back to the ASF repo are done from this directory 
—so isolated from all local development.</p>
 +
 +<p>If you accidentally commit a patch to an ASF branch, do not attempt to 
roll back the branch and force out a new update. Simply commit and push out a 
new patch revoking the change.</p>
 +
 +<p>If you do accidentally commit a branch to the ASF repo, the infrastructure 
team can delete it —but they cannot stop it propagating to github and 
potentially being visible. Try not to do that.</p>
 +
 +
 +        
 +      </section>
 +
 +      <footer class="page__meta">
 +        
 +        
 +
 +
 +        
 +          <p class="page__date"><strong><i class="fa fa-fw fa-calendar" 
aria-hidden="true"></i> Updated:</strong> <time datetime="2016-12-25">December 
25, 2016</time></p>
 +        
 +      </footer>
 +
 +      <section class="page__share">
 +  
 +    <h4 class="page__share-title">Share on</h4>
 +  
 +
 +  <a href="https://twitter.com/intent/tweet?via=ApacheRocketMQ&text=Best 
Practice in Pull Request /docs/pull-request/" class="btn btn--twitter" 
title="Share on Twitter"><i class="fa fa-fw fa-twitter" 
aria-hidden="true"></i><span> Twitter</span></a>
 +
 +  <a href="https://www.facebook.com/sharer/sharer.php?u=/docs/pull-request/"; 
class="btn btn--facebook" title="Share on Facebook"><i class="fa fa-fw 
fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
 +
 +  <a href="https://plus.google.com/share?url=/docs/pull-request/"; class="btn 
btn--google-plus" title="Share on Google Plus"><i class="fa fa-fw 
fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
 +
 +  <a 
href="https://www.linkedin.com/shareArticle?mini=true&url=/docs/pull-request/"; 
class="btn btn--linkedin" title="Share on LinkedIn"><i class="fa fa-fw 
fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
 +</section>
 +
 +
 +      
 +  <nav class="pagination">
 +    
 +      <a href="/docs/cluster-deployment/" class="pagination--pager" 
title="Cluster Configuration and Deployment
 +">Previous</a>
 +    
 +    
 +      <a href="/docs/code-guidelines/" class="pagination--pager" 
title="Coding Guidelines
 +">Next</a>
 +    
 +  </nav>
 +
 +    </div>
 +
 +    
 +      <div class="page__comments">
 +  
 +  
 +    <h4 class="page__comments-title">Leave a Comment</h4>
 +    <section id="disqus_thread"></section>
 +  
 +</div>
 +    
 +  </article>
 +
 +  
 +  
 +</div>
 +
 +    <div class="page__footer">
 +      <footer>
 +        <!-- start custom footer snippets -->
 +
 +<!-- end custom footer snippets -->
 +        <style type="text/css">
 +  div.columns   { float: left; margin-left: 10px;}
 +  div.clear     { clear: both; } 
 +</style>
 +<div>
 +  <div class="columns">
 +    <a href="https://www.apache.org/";><img 
src="/assets/images/feather-small.gif" alt="Apache Software Foundation" 
style="height: 88px !important" /></a>
 +  </div>
 +  <div class="columns" style="width: 80%">
 +    <div class="page__footer-follow">
 +      <ul class="social-icons">
 +        
 +          <li><strong>Follow:</strong></li>
 +        
 +        
 +          <li><a href="https://twitter.com/ApacheRocketMQ";><i class="fa fa-fw 
fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
 +        
 +        
 +        
 +          <li><a href="http://github.com/apache/incubator-rocketmq";><i 
class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
 +        
 +        
 +        <li><a href="/feed.xml"><i class="fa fa-fw fa-rss-square" 
aria-hidden="true"></i> Feed</a></li>
 +      </ul>
 +    </div>
 +
 +    <div class="page__footer-copyright">Copyright &copy; 2017 <a 
href="http://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</div>
 +  </div>
 +</div>
 +<div class="clear"></div>
 +      </footer>
 +    </div>
 +
 +    <script src="/assets/js/main.min.js"></script>
 +
 +
 +
 +
 +  <script>
 +  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
 +  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new 
Date();a=s.createElement(o),
 +  
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
 +  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 +
 +  ga('create', 'UA-89603173-1', 'auto');
 +  ga('send', 'pageview');
 +</script>
 +
 +<script>
 +var _hmt = _hmt || [];
 +(function() {
 +  var hm = document.createElement("script");
 +  hm.src = "https://hm.baidu.com/hm.js?36428f2b841d08e7405724cbf7f860d2";;
 +  var s = document.getElementsByTagName("script")[0]; 
 +  s.parentNode.insertBefore(hm, s);
 +})();
 +</script>
 +
 +
 +
 +
 +  
 +  <script type="text/javascript">
 +      /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * 
* */
 +      var disqus_shortname = 'rocketmq';
 +
 +      /* * * DON'T EDIT BELOW THIS LINE * * */
 +      (function() {
 +              var dsq = document.createElement('script'); dsq.type = 
'text/javascript'; dsq.async = true;
 +              dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
 +              (document.getElementsByTagName('head')[0] || 
document.getElementsByTagName('body')[0]).appendChild(dsq);
 +      })();
 +
 +      /* * * DON'T EDIT BELOW THIS LINE * * */
 +      (function () {
 +              var s = document.createElement('script'); s.async = true;
 +              s.type = 'text/javascript';
 +              s.src = '//' + disqus_shortname + '.disqus.com/count.js';
 +              (document.getElementsByTagName('HEAD')[0] || 
document.getElementsByTagName('BODY')[0]).appendChild(s);
 +      }());
 +  </script>
 +  <noscript>Please enable JavaScript to view the <a 
href="http://disqus.com/?ref_noscript";>comments powered by 
Disqus.</a></noscript>
 +
 +
 +
 +
 +
 +
 +  </body>
 +</html>

http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/93c5936c/content/docs/quick-start/index.html
----------------------------------------------------------------------
diff --cc content/docs/quick-start/index.html
index 861211e,0000000..4048506
mode 100644,000000..100644
--- a/content/docs/quick-start/index.html
+++ b/content/docs/quick-start/index.html
@@@ -1,665 -1,0 +1,665 @@@
 +<!doctype html>
 +<html lang="en" class="no-js">
 +  <head>
 +    <meta charset="utf-8">
 +
 +<!-- begin SEO -->
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +<title>Quick Start - Apache RocketMQ</title>
 +
 +
 +
 +
 +<meta name="description" content="How to quickly install and setup Apache 
RocketMQ.">
 +
 +
 +
 +
 +<meta property="og:locale" content="en">
 +<meta property="og:site_name" content="Apache RocketMQ">
 +<meta property="og:title" content="Quick Start">
 +
 +
 +
 +
 +  <meta property="og:description" content="How to quickly install and setup 
Apache RocketMQ.">
 +
 +
 +
 +  <meta name="twitter:site" content="@ApacheRocketMQ">
 +  <meta name="twitter:title" content="Quick Start">
 +  <meta name="twitter:description" content="How to quickly install and setup 
Apache RocketMQ.">
 +  <meta name="twitter:url" content="">
 +
 +  
 +    <meta name="twitter:card" content="summary">
 +    
 +  
 +
 +  
 +
 +
 +
 +  
 +
 +  
 +
 +
 +
 +
 +
 +  <meta property="og:type" content="article">
-   <meta property="article:published_time" content="2017-04-25T01:02:11+08:00">
++  <meta property="article:published_time" content="2017-04-25T01:06:24+08:00">
 +
 +
 +
 +
 +
 +
 +
 +
 +  <script type="application/ld+json">
 +    {
 +      "@context" : "http://schema.org";,
 +      "@type" : "Person",
 +      "name" : "Apache RocketMQ",
 +      "url" : null,
 +      "sameAs" : null
 +    }
 +  </script>
 +
 +
 +
 +  <meta name="google-site-verification" 
content="aand0XZkSGsziuC-UPD4ZJniFD0m0JhGx6820y2mAQY" />
 +
 +
 +  <meta name="baidu-site-verification" content="wD06EbDRkQ" />
 +
 +
 +
 +
 +<!-- end SEO -->
 +
 +
 +<link href="/feed.xml" type="application/atom+xml" rel="alternate" 
title="Apache RocketMQ Feed">
 +
 +<!-- http://t.co/dKP3o1e -->
 +<meta name="HandheldFriendly" content="True">
 +<meta name="MobileOptimized" content="320">
 +<meta name="viewport" content="width=device-width, initial-scale=1.0">
 +
 +<script>
 +  document.documentElement.className = 
document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
 +</script>
 +
 +<!-- For all browsers -->
 +<link rel="stylesheet" href="/assets/css/main.css">
 +
 +<meta http-equiv="cleartype" content="on">
 +    <!-- start custom head snippets -->
 +
 +<!-- insert favicons. use http://realfavicongenerator.net/ -->
 +
 +<!-- end custom head snippets -->
 +  </head>
 +
 +  <body class="layout--single">
 +
 +    <!--[if lt IE 9]>
 +<div class="notice--danger align-center" style="margin: 0;">You are using an 
<strong>outdated</strong> browser. Please <a 
href="http://browsehappy.com/";>upgrade your browser</a> to improve your 
experience.</div>
 +<![endif]-->
 +    <div class="masthead">
 +  <div class="masthead__inner-wrap">
 +    <div class="masthead__menu">
 +      <nav id="site-nav" class="greedy-nav">
 +        <button><div class="navicon"></div></button>
 +        <ul class="visible-links">
 +          <li class="masthead__menu-item masthead__menu-item--lg"><a 
href="/">Apache RocketMQ</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/docs/quick-start/">Documentation</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/year-archive/">Blog</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/community/">Community</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/customer/">Customer</a></li>
 +          
 +            
 +            <li class="masthead__menu-item"><a 
href="/about/team/">About</a></li>
 +          
 +        </ul>
 +        <ul class="hidden-links hidden"></ul>
 +      </nav>
 +    </div>
 +  </div>
 +</div>
 +
 +    
 +
 +
 +
 +<div id="main" role="main">
 +  
 +  <div class="sidebar sticky">
 +  
 +  
 +    
 +      
 +      
 +      
 +    
 +    
 +      
 +
 +<nav class="nav__list">
 +  
 +  <input id="ac-toc" name="accordion-toc" type="checkbox" />
 +  <label for="ac-toc">Toggle Menu</label>
 +  <ul class="nav__items">
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">User Guide</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/quick-start/" class="active">Quick 
Start</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/motivation/" class="">Why RocketMQ</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/simple-example/" class="">Simple 
Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/order-example/" class="">Order Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/broadcast-example/" class="">Broadcasting 
Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/schedule-example/" class="">Schedule 
Example</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/batch-example/" class="">Batch Example</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Deployment & Operations</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/rmq-arc/" class="">Architecture</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/rmq-deployment/" class="">Deployment</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/cli-admin-tool/" class="">CLI Admin 
Tool</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Contributor Guide</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/code-guidelines/" class="">Code 
Guidelines</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/pull-request/" class="">Pull Request</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/release-manual" class="">Release 
Manual</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Best Practice</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/core-concept/" class="">Core Concept</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-broker/" class="">Broker</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-producer/" 
class="">Producer</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-consumer/" 
class="">Consumer</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/docs/best-practice-namesvr/" 
class="">NameServer</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          <span class="nav__sub-title">Release Notes</span>
 +        
 +
 +        
 +        <ul>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/dowloading/releases/" class="">Download</a></li>
 +          
 +            
 +            
 +
 +            
 +            
 +
 +            <li><a href="/release_notes/release-notes-4.0.0-incubating/" 
class="">4.0.0-incubating</a></li>
 +          
 +        </ul>
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          
 +          
 +
 +          <a href="/docs/roadmap/"><span 
class="nav__sub-title">RoadMap</span></a>
 +        
 +
 +        
 +      </li>
 +    
 +      <li>
 +        
 +          
 +          
 +
 +          <a href="/docs/faq/"><span class="nav__sub-title">FAQ</span></a>
 +        
 +
 +        
 +      </li>
 +    
 +  </ul>
 +</nav>
 +    
 +  
 +  </div>
 +
 +
 +  <article class="page" itemscope itemtype="http://schema.org/CreativeWork";>
 +    <meta itemprop="headline" content="Quick Start">
 +    <meta itemprop="description" content="How to quickly install and setup 
Apache RocketMQ.">
 +    <meta itemprop="datePublished" content="April 25, 2017">
 +    <meta itemprop="dateModified" content="December 30, 2016">
 +
 +    <div class="page__inner-wrap">
 +      
 +        <header>
 +          <h1 class="page__title" itemprop="headline">Quick Start
 +</h1>
 +          
 +        </header>
 +      
 +
 +      <section class="page__content" itemprop="text">
 +        <p>This quick start guide is to give detailed instructions, helping 
you setup RocketMQ messaging system on a single local machine and send/receive 
the very first message.</p>
 +
 +<aside class="sidebar__right">
 +<nav class="toc">
 +    <header><h4 class="nav__title"><i class="fa fa-file-text"></i> On This 
Page</h4></header>
 +<ul class="toc__menu" id="markdown-toc">
 +  <li><a href="#prerequisite" 
id="markdown-toc-prerequisite">Prerequisite</a></li>
 +  <li><a href="#clone--build" id="markdown-toc-clone--build">Clone &amp; 
Build</a></li>
 +  <li><a href="#start-name-server" id="markdown-toc-start-name-server">Start 
Name Server</a></li>
 +  <li><a href="#start-broker" id="markdown-toc-start-broker">Start 
Broker</a></li>
 +  <li><a href="#send--receive-messages" 
id="markdown-toc-send--receive-messages">Send &amp; Receive Messages</a></li>
 +  <li><a href="#shutdown-servers" id="markdown-toc-shutdown-servers">Shutdown 
Servers</a></li>
 +</ul>
 +
 +  </nav>
 +</aside>
 +
 +<h1 id="prerequisite">Prerequisite</h1>
 +
 +<p>The following softwares are assumed installed:</p>
 +<ol>
 +  <li>64bit OS, Linux/Unix/Mac is recommended;</li>
 +  <li>64bit JDK 1.7+;</li>
 +  <li>Maven 3.2.x</li>
 +  <li>Git</li>
 +</ol>
 +
 +<h1 id="clone--build">Clone &amp; Build</h1>
 +
 +<div class="language-shell highlighter-rouge"><pre class="highlight"><code>  
&gt; git clone https://github.com/apache/incubator-rocketmq.git
 +  &gt; <span class="nb">cd </span>incubator-rocketmq
 +  &gt; mvn -Prelease-all -DskipTests clean install -U
 +  &gt; <span class="nb">cd </span>distribution/target/apache-rocketmq
 +</code></pre>
 +</div>
 +
 +<h1 id="start-name-server">Start Name Server</h1>
 +
 +<div class="language-shell highlighter-rouge"><pre class="highlight"><code>  
&gt; nohup sh bin/mqnamesrv &amp;
 +  &gt; tail -f ~/logs/rocketmqlogs/namesrv.log
 +  The Name Server boot success...
 +</code></pre>
 +</div>
 +
 +<h1 id="start-broker">Start Broker</h1>
 +
 +<div class="language-shell highlighter-rouge"><pre class="highlight"><code>  
&gt; nohup sh bin/mqbroker -n localhost:9876 &amp;
 +  &gt; tail -f ~/logs/rocketmqlogs/broker.log 
 +  The broker[%s, 172.30.30.233:10911] boot success...
 +</code></pre>
 +</div>
 +<p>you may need to pay attention to the broker ip, for that the broker will 
not use the loopback network interface, So you should make sure you have 
connected to other network.</p>
 +
 +<h1 id="send--receive-messages">Send &amp; Receive Messages</h1>
 +
 +<p>Before sending/receiving messages, we need to tell clients where name 
servers are located. RocketMQ provides multiple ways to achieve this. For 
simplicity, we use environment variable <code 
class="highlighter-rouge">NAMESRV_ADDR</code></p>
 +
 +<div class="language-shell highlighter-rouge"><pre class="highlight"><code> 
&gt; <span class="nb">export </span><span class="nv">NAMESRV_ADDR</span><span 
class="o">=</span>localhost:9876
 + &gt; sh bin/tools.sh org.apache.rocketmq.example.quickstart.Producer
 + SendResult <span class="o">[</span><span class="nv">sendStatus</span><span 
class="o">=</span>SEND_OK, <span class="nv">msgId</span><span 
class="o">=</span> ...
 +
 + &gt; sh bin/tools.sh org.apache.rocketmq.example.quickstart.Consumer
 + ConsumeMessageThread_%d Receive New Messages: <span 
class="o">[</span>MessageExt...
 +</code></pre>
 +</div>
 +
 +<h1 id="shutdown-servers">Shutdown Servers</h1>
 +
 +<div class="language-shell highlighter-rouge"><pre 
class="highlight"><code><span class="gp">&gt; </span>sh bin/mqshutdown broker
 +The mqbroker<span class="o">(</span>36695<span class="o">)</span> is 
running...
 +Send shutdown request to mqbroker<span class="o">(</span>36695<span 
class="o">)</span> OK
 +
 +<span class="gp">&gt; </span>sh bin/mqshutdown namesrv
 +The mqnamesrv<span class="o">(</span>36664<span class="o">)</span> is 
running...
 +Send shutdown request to mqnamesrv<span class="o">(</span>36664<span 
class="o">)</span> OK
 +</code></pre>
 +</div>
 +
 +        
 +      </section>
 +
 +      <footer class="page__meta">
 +        
 +        
 +
 +
 +        
 +          <p class="page__date"><strong><i class="fa fa-fw fa-calendar" 
aria-hidden="true"></i> Updated:</strong> <time datetime="2016-12-30">December 
30, 2016</time></p>
 +        
 +      </footer>
 +
 +      <section class="page__share">
 +  
 +    <h4 class="page__share-title">Share on</h4>
 +  
 +
 +  <a href="https://twitter.com/intent/tweet?via=ApacheRocketMQ&text=Quick 
Start /docs/quick-start/" class="btn btn--twitter" title="Share on Twitter"><i 
class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
 +
 +  <a href="https://www.facebook.com/sharer/sharer.php?u=/docs/quick-start/"; 
class="btn btn--facebook" title="Share on Facebook"><i class="fa fa-fw 
fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
 +
 +  <a href="https://plus.google.com/share?url=/docs/quick-start/"; class="btn 
btn--google-plus" title="Share on Google Plus"><i class="fa fa-fw 
fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
 +
 +  <a 
href="https://www.linkedin.com/shareArticle?mini=true&url=/docs/quick-start/"; 
class="btn btn--linkedin" title="Share on LinkedIn"><i class="fa fa-fw 
fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
 +</section>
 +
 +
 +      
 +  <nav class="pagination">
 +    
 +      <a href="#" class="pagination--pager disabled">Previous</a>
 +    
 +    
 +      <a href="/docs/motivation/" class="pagination--pager" title="Motivation
 +">Next</a>
 +    
 +  </nav>
 +
 +    </div>
 +
 +    
 +      <div class="page__comments">
 +  
 +  
 +    <h4 class="page__comments-title">Leave a Comment</h4>
 +    <section id="disqus_thread"></section>
 +  
 +</div>
 +    
 +  </article>
 +
 +  
 +  
 +</div>
 +
 +    <div class="page__footer">
 +      <footer>
 +        <!-- start custom footer snippets -->
 +
 +<!-- end custom footer snippets -->
 +        <style type="text/css">
 +  div.columns   { float: left; margin-left: 10px;}
 +  div.clear     { clear: both; } 
 +</style>
 +<div>
 +  <div class="columns">
 +    <a href="https://www.apache.org/";><img 
src="/assets/images/feather-small.gif" alt="Apache Software Foundation" 
style="height: 88px !important" /></a>
 +  </div>
 +  <div class="columns" style="width: 80%">
 +    <div class="page__footer-follow">
 +      <ul class="social-icons">
 +        
 +          <li><strong>Follow:</strong></li>
 +        
 +        
 +          <li><a href="https://twitter.com/ApacheRocketMQ";><i class="fa fa-fw 
fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
 +        
 +        
 +        
 +          <li><a href="http://github.com/apache/incubator-rocketmq";><i 
class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
 +        
 +        
 +        <li><a href="/feed.xml"><i class="fa fa-fw fa-rss-square" 
aria-hidden="true"></i> Feed</a></li>
 +      </ul>
 +    </div>
 +
 +    <div class="page__footer-copyright">Copyright &copy; 2017 <a 
href="http://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</div>
 +  </div>
 +</div>
 +<div class="clear"></div>
 +      </footer>
 +    </div>
 +
 +    <script src="/assets/js/main.min.js"></script>
 +
 +
 +
 +
 +  <script>
 +  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
 +  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new 
Date();a=s.createElement(o),
 +  
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
 +  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 +
 +  ga('create', 'UA-89603173-1', 'auto');
 +  ga('send', 'pageview');
 +</script>
 +
 +<script>
 +var _hmt = _hmt || [];
 +(function() {
 +  var hm = document.createElement("script");
 +  hm.src = "https://hm.baidu.com/hm.js?36428f2b841d08e7405724cbf7f860d2";;
 +  var s = document.getElementsByTagName("script")[0]; 
 +  s.parentNode.insertBefore(hm, s);
 +})();
 +</script>
 +
 +
 +
 +
 +  
 +  <script type="text/javascript">
 +      /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * 
* */
 +      var disqus_shortname = 'rocketmq';
 +
 +      /* * * DON'T EDIT BELOW THIS LINE * * */
 +      (function() {
 +              var dsq = document.createElement('script'); dsq.type = 
'text/javascript'; dsq.async = true;
 +              dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
 +              (document.getElementsByTagName('head')[0] || 
document.getElementsByTagName('body')[0]).appendChild(dsq);
 +      })();
 +
 +      /* * * DON'T EDIT BELOW THIS LINE * * */
 +      (function () {
 +              var s = document.createElement('script'); s.async = true;
 +              s.type = 'text/javascript';
 +              s.src = '//' + disqus_shortname + '.disqus.com/count.js';
 +              (document.getElementsByTagName('HEAD')[0] || 
document.getElementsByTagName('BODY')[0]).appendChild(s);
 +      }());
 +  </script>
 +  <noscript>Please enable JavaScript to view the <a 
href="http://disqus.com/?ref_noscript";>comments powered by 
Disqus.</a></noscript>
 +
 +
 +
 +
 +
 +
 +  </body>
 +</html>

Reply via email to