<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How does storm handle failed tuples? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-storm-handle-failed-tuples/m-p/128865#M51588</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/689/jonathanmmaestas.html" nodeid="689"&gt;@Jon Maestas&lt;/A&gt; Please accept the answer if this answered your questions.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2017 07:59:20 GMT</pubDate>
    <dc:creator>ambud_sharma1</dc:creator>
    <dc:date>2017-01-17T07:59:20Z</dc:date>
    <item>
      <title>How does storm handle failed tuples?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-storm-handle-failed-tuples/m-p/128863#M51586</link>
      <description>&lt;P&gt;Storm Version: 0.10.0.2.4&lt;/P&gt;&lt;P&gt;Using a Kafka Spout.&lt;/P&gt;&lt;P&gt;How does storm handle failed tuples?&lt;/P&gt;&lt;P&gt;How many times will storm retry a failed tuple?&lt;/P&gt;&lt;P&gt;What frequency will storm retry the failed tuple?&lt;/P&gt;&lt;P&gt;What is the max tuple count a topology can handle between all spouts and bolts?&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2017 07:58:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-storm-handle-failed-tuples/m-p/128863#M51586</guid>
      <dc:creator>Jonathan_M_Maes</dc:creator>
      <dc:date>2017-01-14T07:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How does storm handle failed tuples?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-storm-handle-failed-tuples/m-p/128864#M51587</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/689/jonathanmmaestas.html" nodeid="689"&gt;@Jon Maestas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Answering your questions inline: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;How does storm handle failed tuples?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When you are using at least once processing (acking and anchoring) is when Storm will handle tuple failures by retries. Retry means re-emitting a tuple from Spout.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How many times will storm retry a failed tuple?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This depends on the Spout's logic, in case of Kafka Spout for 0.10.x Storm there's the ability for exponential backoff retry (https://github.com/apache/storm/blob/0.10.x-branch/external/storm-kafka/src/jvm/storm/kafka/ExponentialBackoffMsgRetryManager.java)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What frequency will storm retry the failed tuple?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ExponentialBackoff will determine the frequency. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What is the max tuple count a topology can handle between all spouts and bolts?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am guessing you are asking for maximum number of tuples at any given point can be in Storm's buffers? This = Bolt Count * Executor Count * TOPOLOGY_EXECUTOR_RECEIVE_BUFFER_SIZE + Bolt Count * Executor Count * TOPOLOGY_EXECUTOR_SEND_BUFFER_SIZE&lt;/P&gt;&lt;P&gt;You can find out the value of these buffers from Ambari -&amp;gt; Storm -&amp;gt; Config -&amp;gt; Search "buffer"&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Please note that the above is theoretical maximum, Max Spout Pending (topology.max.spout.pending) throttles the number of in-flight tuples from the Spout.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;There's also transfer buffers which will add bit more to the above calculated number.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please refer to Michael Noll's blog for more details about Storm Buffers (http://www.michael-noll.com/blog/2013/06/21/understanding-storm-internal-message-buffers/)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your questions.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2017 02:59:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-storm-handle-failed-tuples/m-p/128864#M51587</guid>
      <dc:creator>ambud_sharma1</dc:creator>
      <dc:date>2017-01-15T02:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: How does storm handle failed tuples?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-storm-handle-failed-tuples/m-p/128865#M51588</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/689/jonathanmmaestas.html" nodeid="689"&gt;@Jon Maestas&lt;/A&gt; Please accept the answer if this answered your questions.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 07:59:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-storm-handle-failed-tuples/m-p/128865#M51588</guid>
      <dc:creator>ambud_sharma1</dc:creator>
      <dc:date>2017-01-17T07:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: How does storm handle failed tuples?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-storm-handle-failed-tuples/m-p/128866#M51589</link>
      <description>&lt;P&gt;Good write-up from &lt;A rel="user" href="https://community.cloudera.com/users/14221/ambudsharma.html" nodeid="14221" target="_blank"&gt;@Ambud Sharma&lt;/A&gt; plus you can visit &lt;A href="http://storm.apache.org/releases/1.0.2/Guaranteeing-message-processing.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://storm.apache.org/releases/1.0.2/Guaranteeing-message-processing.html&lt;/A&gt; for info from the source.  Additionally, take a peek at the picture below I just exported from our &lt;A href="http://hortonworks.com/training/class/hdp-developer-storm-and-trident-fundamentals/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://hortonworks.com/training/class/hdp-developer-storm-and-trident-fundamentals/&lt;/A&gt; course that might help visualize all of this information.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11589-acker.jpg" style="width: 1650px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22498i1745D0476723346A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11589-acker.jpg" alt="11589-acker.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Good luck and happy Storming!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:47:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-storm-handle-failed-tuples/m-p/128866#M51589</guid>
      <dc:creator>LesterMartin</dc:creator>
      <dc:date>2019-08-19T09:47:39Z</dc:date>
    </item>
  </channel>
</rss>

