You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently working on the SpringBoot Reactive change stream API, I found that the ReactiveMongoTemplate.changeStream method doesn't consider the FullDocumentBeforeChange option passed along with the argument ChangeStreamOptions, and the publisher i.e., ChangeStreamPublisherImpl always use the FullDocumentBeforeChange.DEFAULT option while watching the change events on a collection. Due to this, I am unable to retrieve the preimage of a collection from the MongoDB and the value for field fullDocumentBeforeChange is always null in the ChangeStreamEvent. Could you please provide a solution for this?
Spring boot version: 3.1.0/3.1.5
Dependency: org.springframework.boot:spring-boot-starter-data-mongodb-reactive
The text was updated successfully, but these errors were encountered:
Hello Team,
Recently working on the SpringBoot Reactive change stream API, I found that the ReactiveMongoTemplate.changeStream method doesn't consider the FullDocumentBeforeChange option passed along with the argument ChangeStreamOptions, and the publisher i.e., ChangeStreamPublisherImpl always use the FullDocumentBeforeChange.DEFAULT option while watching the change events on a collection. Due to this, I am unable to retrieve the preimage of a collection from the MongoDB and the value for field fullDocumentBeforeChange is always null in the ChangeStreamEvent. Could you please provide a solution for this?
Spring boot version: 3.1.0/3.1.5
Dependency: org.springframework.boot:spring-boot-starter-data-mongodb-reactive
The text was updated successfully, but these errors were encountered: