<?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 Why the Thread.sleep(1000) in TruckEventsProducer.java after the producer.send()? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-the-Thread-sleep-1000-in-TruckEventsProducer-java-after/m-p/154873#M28835</link>
    <description>&lt;P&gt;
	The TruckEventsProducer code implements a sleep() after each send():&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
	producer.send(data);&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
	                        Thread.sleep(1000);&lt;/P&gt;&lt;P&gt;Why is this necessary?&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2016 00:56:11 GMT</pubDate>
    <dc:creator>nklein</dc:creator>
    <dc:date>2016-05-19T00:56:11Z</dc:date>
    <item>
      <title>Why the Thread.sleep(1000) in TruckEventsProducer.java after the producer.send()?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-the-Thread-sleep-1000-in-TruckEventsProducer-java-after/m-p/154873#M28835</link>
      <description>&lt;P&gt;
	The TruckEventsProducer code implements a sleep() after each send():&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
	producer.send(data);&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
	                        Thread.sleep(1000);&lt;/P&gt;&lt;P&gt;Why is this necessary?&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 00:56:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-the-Thread-sleep-1000-in-TruckEventsProducer-java-after/m-p/154873#M28835</guid>
      <dc:creator>nklein</dc:creator>
      <dc:date>2016-05-19T00:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why the Thread.sleep(1000) in TruckEventsProducer.java after the producer.send()?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-the-Thread-sleep-1000-in-TruckEventsProducer-java-after/m-p/154874#M28836</link>
      <description>&lt;P&gt;it is for demo purposes, do not include this line in your production code. It's there to simulate new events every one second. &lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 02:40:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-the-Thread-sleep-1000-in-TruckEventsProducer-java-after/m-p/154874#M28836</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-05-19T02:40:45Z</dc:date>
    </item>
  </channel>
</rss>

