Skip to content

Commit

Permalink
Merge pull request #179 from castore-dev/docs-improvements
Browse files Browse the repository at this point in the history
docs: improvements
  • Loading branch information
ThomasAribart authored Jan 11, 2024
2 parents 18a3a71 + 6cbf8ca commit 3cedccd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/3-reacting-to-events/4-connected-event-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 4

If your storage solution exposes data streaming capabilities (such as [DynamoDB streams](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html)), you can leverage them to push your freshly written events to a message bus or queue.

You can also use the `ConnectedEventStore` class. Its interface matches the `EventStore` one, but successfully pushing a new event will automatically forward it to a message queue/bus, and pushing an event group will also automatically forward the events to their respective message queues/buses:
Otherwise, you can use the `ConnectedEventStore` class. Its interface matches the `EventStore` one, but successfully pushing a new event will automatically forward it to a message queue/bus. Successfully pushing an event group will also automatically forward the events to their respective message queues/buses:

```ts
import { ConnectedEventStore } from '@castore/core';
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/4-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ To add run-time validation to your commands:
## 🚌 Message Buses Adapters

- [EventBridge Message Bus Adapter](https://www.npmjs.com/package/@castore/message-bus-adapter-event-bridge): Implementation of the `MessageBusAdapter` interface based on AWS EventBridge.
- [EventBridge + S3 Message Bus Adapter](https://www.npmjs.com/package/@castore/message-bus-adapter-event-bridge-s3/README.md): Implementation of the `MessageBusAdapter` interface based on AWS EventBridge and S3.
- [EventBridge + S3 Message Bus Adapter](https://www.npmjs.com/package/@castore/message-bus-adapter-event-bridge-s3): Implementation of the `MessageBusAdapter` interface based on AWS EventBridge and S3.
- [In-Memory Message Bus Adapter](https://www.npmjs.com/package/@castore/message-bus-adapter-in-memory): Implementation of the `MessageBusAdapter` interface using a local Node/JS event emitter. To be used in manual or unit tests.

0 comments on commit 3cedccd

Please sign in to comment.