Skip to content

message-db/ruby-gem

Repository files navigation

Message DB

Message DB

Microservice Native Event Store and Message Store for Postgres

A fully-featured event store and message store implemented entirely in PostgreSQL, supporting event sourcing and messaging applications and services.

Ruby Distribution of Message DB

This library is a Ruby Gem package of the Message DB database for Postgres.

For more information, see:

https://github.com/message-db/message-db

This package also includes executable scripts installed into the RubyGems execution search path.

For more information on the executables, see:

http://docs.eventide-project.org/user-guide/message-db/tools.html

Installation

gem install message-db

Create the Postgres Database

Running the database installation tool creates the database, schema, table, indexes, functions, views, types, a user role, and limit the user's privileges to the message store's public interface.

Note: Make sure that your default Postgres user has administrative privileges.

The database installation Ruby executable will be installed with the message-db gem. The executable will be in the gem executable search path and may also be executed through bundler:

bundle exec mdb-create-db

For more information about Ruby executables installed with the message-db Ruby Gem, see the Eventide docs on the administration tools that are bundled with the gem:

http://docs.eventide-project.org/user-guide/message-db/tools.html

Database Name

By default, the database creation tool will create a database named message_store.

If you prefer either a different database name, you can override the name using the DATABASE_NAME environment variable.

DATABASE_NAME=some_other_database bundle exec mdb-create-db

Documentation

See the Message DB documentation on the Eventide docs site:

http://docs.eventide-project.org/user-guide/message-db/

License

The message-db library is released under the MIT License.

About

Microservice native message and event store for Postgres

Resources

License

Stars

Watchers

Forks

Packages

No packages published