Machine Learning in Real Time with Spring XD
Jason Bell · Machine Learning · 2014
This chapter covers the use of Spring XD for consuming real-time data using the Twitter streaming application programming interface (API). The examples show you how to write custom processors in Spring XD to perform real-time analysis on the incoming Twitter data (tweets). This chapter uses the Spring XD framework that is designed for real-time processing. The sentiment analysis example, although simple, is used commonly in real Twitter sentiment applications, is a handy tool to have when monitoring incoming streams of tweet data. The chapter provides includes step-by-step instructions for building up the full implementation of learning from the Twitter streaming data. It also covers the concept of streams in Spring XD and looks at various types of streams that can be used. The reader can also investigate other systems such as Storm, Apache Flume, or RabbitMQ for constructing real-time systems.