Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

jared-mackey/brook_storage_nebulex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brook Storage Nebulex

A Brook.Storage implementation using Nebulex

Installation

def deps do
  [
    {:brook_storage_nebulex, "~> 0.1.0"}
  ]
end

Usage

Set the storage to be the Nebulex storage driver.

config :my_app, :brook,
  instance: :default,
  driver: [
    module: Brook.Driver.Json,
    init_arg: []
  ],
  handlers: [MyApp.Event.Handler],
  storage: [
    module: Brook.Storage.Nebulex,
    init_arg: [
      cache: MyApp.Event.Cache
    ]
  ]

Ensure your cache is started in your supervision tree before starting brook. The storage driver should work with any type of Nebulex cache. Caches are safe to share across brook instances.

About

A Brook Storage driver for Nebulex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages