Tutorials
Learn Hindsight through these step-by-step tutorials:
- 1. Getting Started with Hindsight
- 2. In-Memory Projections
- 3. PostgreSQL Projections
- 4. Event Versioning
- 5. Consistency Patterns
- 6. Backend-Agnostic Code
- 7. Synchronous Projections
- 8. Cross-Stream Consistency
- 8.1. Prerequisites
- 8.2. Pattern 1: SQL Constraints for Uniqueness
- 8.3. Define Events
- 8.4. Course Enrollment Example
- 8.5. Synchronous Projection with UNIQUE Constraint
- 8.6. Demonstration
- 8.7. Pattern 2: Multi-Stream Transactions
- 8.8. Demo: Multi-Stream Coordination
- 8.9. Running the Examples
- 8.10. Summary