The Apache Storm application consists of two components:
- Spout: Spout is used to read the stream of data from an external source system and pass it to topology for further processing. Spout can be either reliable or unreliable.
- Reliable spout: Reliable spout is capable of replaying the data in case it failed during the processing. In such a case, spout waits for acknowledgement for each event it has emitted for further processing. Remember this may cost more processing time but is extremely helpful for those applications for which we cannot manage to lose a single record for processing, such as ATM fraud detection applications.
- Unreliable spout: Unreliable spout does not care about re-emitting the spout ...