wwwision/dcb-eventstore-umadb-grpc

UmaDB adapter (gRPC) for the Dynamic Consistency Boundary implementation

Maintainers

Package info

github.com/bwaidelich/dcb-eventstore-umadb-grpc

Type:package

pkg:composer/wwwision/dcb-eventstore-umadb-grpc

Transparency log

Fund package maintenance!

bwaidelich

Paypal

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

2.0.0 2026-07-21 11:12 UTC

This package is auto-updated.

Last update: 2026-07-21 11:40:10 UTC


README

UmaDB adapter for the Dynamic Consistency Boundary implementation.

Usage

Important

This adapter targets the UmaDB gRPC API as of UmaDB v0.6.6 and requires a UmaDB server running that version or newer. Since v0.6.6, event metadata is stored in UmaDB's native metadata field, so event stores written with older versions of this adapter are not backwards-compatible and need to be re-created or migrated.

Install via composer:

composer require wwwision/dcb-eventstore-umadb-grpc

Create instance

use Wwwision\DCBEventStoreUmaDbGrpc\UmaDbEventStore;

$eventStore = UmaDbEventStore::create('127.0.0.1:50051');

Specify api key / CA certificate

UmaDB can be used with TLS and API Key:

use Wwwision\DCBEventStoreUmaDbGrpc\UmaDbEventStore;

$eventStore = UmaDbEventStore::create(
  hostname: '127.0.0.1:50051',
  apiKey: 'secret',
  caPath: '/path/to/certificate.pem',
);

See wwwision/dcb-eventstore for more details and usage examples

Note

This package communicates with UmaDB via gRPC and requires the gRPC PHP extension (ext-grpc) to be installed See wwwision/dcb-eventstore-umadb for a version that uses the custom UmaDB PHP extension instead

Contribution

Contributions in the form of issues or pull requests are highly appreciated

License

See LICENSE