This chapter builds on the material from Chapter 3, Introducing Petrel. In this chapter, we'll build a topology that demonstrates a number of new features and techniques. In particular, we'll see how to:
Implement a spout that reads from Twitter
Build topology components based on third-party Python libraries
Compute statistics and rankings over rolling time periods
Read custom configuration settings from
topology.yaml
Use "tick tuples" to execute logic on a schedule