storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Perrot <gper...@ubikod.com>
Subject Re: Understanding the metrics
Date Tue, 07 Jan 2014 10:27:00 GMT
From
https://github.com/nathanmarz/storm/wiki/Guaranteeing-message-processing#tuning-reliability

 > The second way is to remove reliability on a message by message basis.
You can turn off tracking for an individual spout tuple by omitting a
message id in  the SpoutOutputCollector.emit method.

According to me, it's pretty clear that tuples are not tracked at all if
message identifier is omitted, thus not counted in stats.


2014/1/7 Tor Bonde <cimrg.joe@gmail.com>

> Awesome, thanks! Can't believe I didn't see that.
>
> Would this in any way be possible to do, if I didn't supply the messageId?
>
>
> 2014/1/7 Guillaume Perrot <gperrot@ubikod.com>
>
>> Hi,
>> You have to emit tuples from your spout with a message identifier.
>> Otherwise the acking/failing mechanism is not enabled.
>>
>
>

Mime
View raw message