Skip to main content

What is FlowWarden?

FlowWarden Stream Core is an annotation-driven library that brings declarative MongoDB Change Streams to Spring Boot. Zero additional dependencies — just Spring Data MongoDB.

Quickstart

Add the dependency and create your first handler in minutes.

How it Works

Understand Change Streams, resume tokens, and the FlowWarden lifecycle.

Annotations Reference

Full reference for all FlowWarden annotations.

Guides

Step-by-step guides for filtering, retry, deployment modes, and more.

Key Features

  • @ChangeStream declarative handlers with typed event callbacks
  • Automatic checkpoint & resume using MongoDB-backed resume tokens
  • Dead Letter Queue for failed events with retention policies
  • Exponential backoff retry via @RetryPolicy
  • Server-side filtering with @Filter
  • Dual execution modes — Imperative (Spring MVC) or Reactive (WebFlux)
  • Zero additional dependencies — only requires Spring Data MongoDB

Compatibility

RequirementVersion
Java17+ (recommend 21+)
Spring Boot3.2.x+
Spring Data MongoDB4.2.x+
MongoDB6.0+ (Replica Set)