Chapter 3. Introducing Petrel
As discussed in Chapter 1, Getting Acquainted with Storm, Storm is a platform for processing large amounts of data in real time. Storm applications are often written in Java, but Storm supports other languages as well, including Python. While the concepts are similar across languages, the details vary by language. In this chapter, we'll get our first hands-on experience using Storm with Python. First, you'll learn about a Python library called Petrel, which is necessary for creating topologies in Python. Next, we'll set up our Python/Storm development environment. Then, we'll take a close look at a working Storm topology written in Python. Finally, we'll run the topology and you will learn some key techniques to ease ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access