Rails Event Store
Community Support Documentation Changelog

Getting started

  • Let's start
  • Installation
  • Publishing events
  • Subscribing to events
  • Reading events
  • Linking to stream
  • Deleting stream

Advanced

  • API Documentation
  • Client Errors
  • Command Bus
  • Correlation and Causation
  • Event Sourcing
  • Expected Version explained
  • Projections
  • RSpec matchers
  • Request metadata
  • Event serialization formats
  • Custom repository
  • Migrating existing events
  • Browser
  • Ruby Event Store without Rails
  • Instrumentation
  • GDPR
  • Transactions

Tutorials

  • Publish-Subscribe
  • Using RES with Protobuf

Deleting stream

You can permanently delete all events from a specific stream. Use this wisely.

stream_name = "product_1"
client.delete_stream(stream_name)

NOTE: All events from the stream remain intact but they are no longer linked to the stream.

Edit this page on GitHub Provide feedback for this page
  • Domain-Driven Rails
  • GitHub
  • RubyGems
  • Supported by Arkency
  • Rails DDD Workshop