streamparse

Spout prematurely acks, even failed Bolt tuples

一笑奈何 提交于 2019-12-10 10:57:09
问题 I'm using the Python Storm library streamparse (which utilizes pystorm underneath). I've had problems calling a Spouts fail() method in the boilerplate wordcount project. According to the pystorm quickstart docs and numerous things I've read, calling fail(tuple) in a Bolt should elicit a failure in the originating Spout. However, even with the few modifications I've made, I always get a Spout ack() right when it leaves the Spout. Is this the correct behavior, or do I need to change a setting

Spout prematurely acks, even failed Bolt tuples

 ̄綄美尐妖づ 提交于 2019-12-06 10:26:24
I'm using the Python Storm library streamparse (which utilizes pystorm underneath). I've had problems calling a Spouts fail() method in the boilerplate wordcount project. According to the pystorm quickstart docs and numerous things I've read, calling fail(tuple) in a Bolt should elicit a failure in the originating Spout. However, even with the few modifications I've made, I always get a Spout ack() right when it leaves the Spout. Is this the correct behavior, or do I need to change a setting/instance variable? I'm on streamparse 3.4.0 and storm 1.0.2 . My logs show the Spout ack() coming

Streamparse wordcount example

和自甴很熟 提交于 2019-11-26 13:50:32
I have been wanting to use Apache Storm to stream from Kafka. I am more comfortable with Python, so I decided to use streamparse ( https://github.com/Parsely/streamparse ). The word count example is the introductory example. I have been trying to get it to work on my local machine. I have the following version of JDK, lein and storm installed: Leiningen 2.6.1 on Java 1.8.0_73 Java HotSpot(TM) 64-Bit Server VM I run the following steps after following streamparse: sparse quick start wordcount cd wordcount sparse run I get the following error: Retrieving org/apache/storm/storm-core/0.10.1/storm

Streamparse wordcount example

孤人 提交于 2019-11-26 03:44:19
问题 I have been wanting to use Apache Storm to stream from Kafka. I am more comfortable with Python, so I decided to use streamparse (https://github.com/Parsely/streamparse). The word count example is the introductory example. I have been trying to get it to work on my local machine. I have the following version of JDK, lein and storm installed: Leiningen 2.6.1 on Java 1.8.0_73 Java HotSpot(TM) 64-Bit Server VM I run the following steps after following streamparse: sparse quick start wordcount cd