Skip to content

Comments

doc: Rewrite RES tagging, #32080#32245

Merged
patriknw merged 1 commit intomainfrom
wip-32080-res-tags-patriknw
Dec 5, 2023
Merged

doc: Rewrite RES tagging, #32080#32245
patriknw merged 1 commit intomainfrom
wip-32080-res-tags-patriknw

Conversation

@patriknw
Copy link
Contributor

@patriknw patriknw commented Dec 5, 2023

Refs #32080


More advanced routing among the replicas is currently left as an exercise for the reader (or may be covered in a future release [#29281](https://github.com/akka/akka/issues/29281), [#29319](https://github.com/akka/akka/issues/29319)).

## Tagging events and running projections
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was a duplicate copy from the other page


The "event publishing" feature publishes each event to the local system event bus as a side effect after it has been written.

## Hot Standby
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not relevant for grpc, so I moved it here. For grpc they are always hot standby.

When running a Projection in each replica you should be aware of that it will receive all events, from all replicas.
Since the events can arrive in different order, they can also come in different order per replica.

The tagging is invoked in each replicas, which requires some special care in using tags, or else the same event will be
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a hard time understanding what we were trying to say here. Anyway, demphasized tagging since slices is the recommended way.

@patriknw patriknw merged commit 16d4555 into main Dec 5, 2023
@patriknw patriknw deleted the wip-32080-res-tags-patriknw branch December 5, 2023 13:28
He-Pin pushed a commit to He-Pin/akka that referenced this pull request Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants