Course info
Aug 27, 2018
2h 19m

MongoDB Change Streams open a whole new set of possibilities for micro-service, real time streaming, and other advanced architectures. In this course, MongoDB Change Streams: Driving Real Time Events and Streaming Applications, you will learn foundational knowledge of Change Streams that will allow clients to get real time notification based on pre-defined filters. First, you will learn Queue-and-forward techniques. Next, you will discover micro service inter-communication. Finally, you will explore other real time data streaming applications. When you’re finished with this course, you will have the skills and knowledge of mongoDB Change streams to produce real time data applications.

About the author
About the author

Nuri is a developer, technical speaker and owner of Plus N Consulting. He codes for a living and lives to code. Learning, teaching and exploring technology is his passion.

More from the author
MongoDB Administration
7h 20m
Jun 2, 2015
Big Data & Reporting with MongoDB
2h 26m
Apr 28, 2014
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello everyone. My name is Nuri Halperin. Welcome to my course, MongoDB Change Streams: Driving realtime events and streaming applications. I am a software architect with extensive experience building software. My company provides consulting, implementation, and training services to large companies, startups, and everywhere in between. Change streams let you easily listen to data events in any MongoDB collection, and process these events in real time. This can help you drive realtime reporting, machine learning, microservice communications, and sometimes replace your messaging broker infrastructure. In this course, we're going to dig deep, and understand the why, what, and how of change streams. To make the most out of this course, you should be familiar with MongoDB and basic query concepts. The code examples are all in JavaScript. The better you know it, the easier it would be to follow along. Some of the major topics that we will cover include how change streams work internally, how to interact with change streams, how to build resilient and robust change event listeners, and where change streams fit in your overall system architecture. By the end of this course, you will know how to write robust change event processors, all the nuances of event types and their schema, and how to scale out your processing. I hope you'll join me to learn about this awesome new MongoDB feature with the MongoDB Change Streams course at Pluralsight.

Streaming and Events – the Backbone of the Modern Architecture
Hello, and thank you for watching this course about MongoDB Change Streams. Change streams open a whole new set of possibilities for microservice architecture, realtime streaming, and other advanced system architectures. Change streams let the application step into a realtime feed of changes occurring at the database level. They let you consume change events in real time, and process them however you see fit. This technology can be used to separate concerns across microservices, to build message synchronization into secondary stores, to power push notification scenarios, or to do on-the-fly analytics, AI processing, or machine learning. Change streams are a great step forward in terms of efficiency and reduce dramatically the amount of infrastructure required to achieve those kind of tasks. My name is Nuri. I have extensive background in creating and integrating large systems and websites. I'm also a MongoDB master and a Microsoft MVP. You may have seen some of my other courses about MongoDB here at Pluralsight.

Change Streams
Hi, and thank you for watching this course about MongoDB Change Streams. My name is Nuri. In the previous module, we went in depth over what change streams are, and where change streams fit into your overall system architecture and topology. In this module, we will be learning about how to consume change streams. We're going to look at some simple scenarios, and go over the syntax and options you use as a developer to hook into MongoDB change stream events. After watching this module, you will be able to write an application that consumes change stream notifications and processes changes as they occur in real time. You will understand how change stream works, how to consume change stream events, how to filter change streams, when each change type is triggered, and what change stream events include, what is the payload of the events. To support change streams, most MongoDB drivers introduce some new syntax, but if you are familiar with the aggregation framework, you already know most of what you need to consume change streams. As a change stream consumer, the syntax you need to master is pretty much just an aggregation framework expression with a new mandatory first stage. Can you guess what the aggregation stage operator name is? Yep, that's right, it's $changeStream. Let's get started with a basic demonstration of MongoDB change streams in action.