Intro to MongoDB Change Streams

Learn how to utilize MongoDB Change Streams with your application to access real-time data changes and react to them.

Intro to MongoDB Change Streams

Learning Byte Overview

In this Learning Byte, a MongoDB expert will walk you through how to use MongoDB Change Streams to access real-time data changes by your application. You will first learn what change streams are and when to use them. Then you will learn how to open, close, and read a change stream. A key feature of MongoDB Change Streams is that they can be resumed even if unexpected downtime occurs. You will learn the different options to resume a change stream and how to apply them. You will also learn how to determine if a change stream should be opened on a collection, database, and cluster. Another powerful feature of change streams is being able to filter for the events you want to see, this Learning Byte will explain how to leverage this feature. Finally, you will discover various options of implementation and where to learn more.

Chapters in this Learning Byte:

  • Chapter 1: Introduction

  • Chapter 2: How Change Streams Work

  • Chapter 3: Opening a Change Stream

  • Chapter 4: Resuming a Change Stream

  • Chapter 5: Watching a Collection, Database, or Cluster

  • Chapter 6: Filtering Events from the Change Stream

  • Chapter 7: Final Considerations

  • Chapter 8: Learn More