Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: improvements #179

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading