Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Cascading

You're reading from  Learning Cascading

Product type Book
Published in May 2015
Publisher
ISBN-13 9781785288913
Pages 276 pages
Edition 1st Edition
Languages

Integrating external components


In these sections, we will discuss how to make Cascading interoperate with external systems. Interoperation is an important aspect of "shoe-horning" a new technology into an existing infrastructure. Additionally, new technologies are emerging almost daily now, so using these capabilities in Cascading is important when migrating or evolving systems.

Flow and cascade events

Each flow and cascade has the ability to execute callbacks via an event listener. This ability is useful when an external application needs to be notified that either a flow or cascade has started, halted, completed, or thrown an exception. Flows and cascades generate events that can be handled by your client-side code.

Tip

For instance, at the completion of a flow that runs on an Amazon EC2 Hadoop cluster, an Amazon SQS message can be sent to notify another application to fetch the job results from S3 or begin the shutdown of the cluster that you are paying for.

  1. These events are managed by a...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}