EventSourcingDBにCommandedが到達

#OSS

EventSourcingDBにCommandedが到達 ElixirのCQRSとEv

Thomas Gossmannは、EventSourcingDB向けのCommanded event store adapterをリリースしました。

CommandedはElixirフレームワークで、CQRSとEvent Sourcingアプリケーションを構築するために使用されます。

このadapterにより、CommandedアプリケーションがEventSourcingDBに接続できるようになりました。

Elixir用のCQRSフレームワーク「Commanded」が、イベントストアとしての「EventSourcingDB」に接続できるアダプターをリリースしました。この更新により、Elixir開発者たちは既存のフレームワークを維持しながら、EventSourcingDBをイベントストアとして利用できるようになりました。

CommandedとEventSourcingDBの連携

CommandedはElixirでCQRS(Command Query Responsibility Segregation)とイベントソーシングを実装するための主要なフレームワークです。このアダプターにより、CommandedはEventSourcingDBにイベントを保存できるようになり、開発者は既存のコードベースを変更することなく、イベントストアの選択肢を拡大できました。

EventSourcingDBの特徴

EventSourcingDBはイベント専用のストアで、イベントを追加するだけのappend-only構造を採用しています。また、イベントはCloudEvents形式でHTTP通信で送信されるため、オープンなフォーマットで運用でき、他システムとの連携が容易です。

実装の詳細と利点

アダプターはElixir SDKをベースに構築されており、既存の通信プロトコルを再実装する必要がありません。これにより、イベントストアの選択肢を増やすだけでなく、Commandedアプリケーションが日常的に必要な機能をサポートしています。

まとめ

この更新により、Elixir開発者はEventSourcingDBを活用しながら、既存のフレームワークを維持することができるようになりました。これにより、イベントソーシングの実装がより柔軟で効率的になることが期待されます。

原文の冒頭を表示(英語・3段落のみ)

Today we're delighted to celebrate a new arrival in the EventSourcingDB ecosystem: Thomas Gossmann has released a Commanded event store adapter for EventSourcingDB. Commanded is the de-facto framework for building CQRS and Event Sourcing applications in Elixir, and with this adapter it can now store its events in EventSourcingDB. If you work in Elixir and you've wanted to put EventSourcingDB underneath your aggregates and process managers, that option exists today.

What makes this exciting isn't a new line in a dependency file. It's what that line unlocks: an entire language community gains a first-class path to EventSourcingDB, without giving up the framework they already know and trust. Let's look at what the adapter does, how you'd put it to work, and why this kind of growth is exactly what we'd hoped to see.

Commanded, Now on EventSourcingDB¶

※ 著作権に配慮し、引用は冒頭3段落までです。続きは元記事をご覧ください。

元記事を読む ↗