Skip to content

Latest commit

 

History

History

ruby_event_store-sidekiq_scheduler

Ruby Event Store Sidekiq Scheduler

A library to schedule Ruby Event Store handlers to sidekiq.

Ruby Event Store Sidekiq Scheduler

How to use this gem

Add to your gemfile in application:

gem "ruby_event_store-sidekiq_scheduler"

Declare the scheduler in your Ruby Event Store configuration. We recommend to use it with AfterCommitAsyncDispatcher

event_store = RailsEventStore::Client.new(
  dispatcher: RailsEventStore::AfterCommitAsyncDispatcher.new(scheduler: RubyEventStore::SidekiqScheduler.new(serializer: RubyEventStore::Serializers::YAML),
)

Read more about using asynchronous handlers

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/RailsEventStore/rails_event_store.