spring-projects / spring-projects/spring-data-mongodb
Add predefined Aggregations for ChangeStreams [DATAMONGO-2088]
Open
@christophstrobl is already working on this.
Since Dec 30, 2020.
in: core
type: enhancement
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Christoph Strobl opened DATAMONGO-2088 and commented
It would be a nice addition to ChangeStreams if we'd have predefined Aggregations for eg. insert operations.
Flux changeStream = reactiveTemplate
.changeStream(newAggregation(match(where("operationType").is("insert"))),
Person.class, ChangeStreamOptions.empty(), "person");
So that one is able to write
Flux changeStream = reactiveTemplate
.changeStream(INSERTS, Person.class, ChangeStreamOptions.empty(), "person");
No further details from DATAMONGO-2088
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.