Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
248 views

well below is my implementation db.services_performed.aggregate([{$match:{status:{$in: ["INVOICING","outbound","accepted","PENDING APPROVAL"]}}},{$group:{...
shanmukhavarma's user avatar
1 vote
1 answer
1k views

I have a service that handles the insertion of a new record into a MongoDB collection: public Mono<ProductDto> insertProduct(Mono<ProductDto> in) { //TODO Must handle Duplicate key ...
Bridgette Ryan's user avatar
0 votes
1 answer
530 views

Why filtering by import_created_at does not work? I have a Spring Boot Application and MongoDB as database. I have Mongo collection items and 2 documents there: { "_id": { "...
Anni Benni's user avatar
1 vote
1 answer
1k views

i'm having a flux of items returned from another service Flux<Tweet> tweetsByUserId = restUtils.getTweetsByUserId(userId); I want this flux to paralamlely be saved in database and send to the ...
javaworld's user avatar
  • 435
2 votes
1 answer
2k views

https://github.com/spring-projects/spring-data-mongodb/issues/2821 https://jira.spring.io/browse/DATAMONGO-1922?redirect=false I have been looking for ReactiveBulk operations to update documents as a ...
argmnt's user avatar
  • 89
0 votes
1 answer
952 views

Using the latest Micronaut 3.4.1 with micronaut data and MongoDB. Keep getting the exception as java.lang.NoClassDefFoundError: org/bson/internal/CodecRegistryHelper Gradle Dependencies dependencies { ...
San Jaisy's user avatar
  • 17.4k
3 votes
1 answer
2k views

In a reactive spring boot application, I have a list of items to update. I want to send a SINGLE command to my DB to apply the changes on different items. An equivalent to db.collection.updateMany if ...
Iori Yagami's user avatar
0 votes
1 answer
2k views

1) Contextualization about the problem: I am trying 'delete' items in 03 different DB-Collections(Reactive MongoDB), using 03 different services/repo (userService + postService + userRepo); My Goal is ...
GtdDev's user avatar
  • 956
0 votes
1 answer
1k views

I have a DTO as below: import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import reactor.core.publisher.Flux; @Data @NoArgsConstructor @AllArgsConstructor public ...
zambliner's user avatar
  • 476
0 votes
1 answer
362 views

I have been working in a application with Spring webflux and reactive mongo DB. in there i used mongo DB atlas as the database and it worked fine. Recently i had to introduce mongo custom conversion ...
keth's user avatar
  • 825
0 votes
0 answers
168 views

I have defined my capped collection as below. @Document("#{@environment.getProperty('customProperties.cappedCollection')}") @Data @NoArgsConstructor @Builder @AllArgsConstructor public ...
Yogesh Pitale's user avatar
1 vote
0 answers
41 views

I have an embedded document. How can I update the multilevel document? At the time of insert, using Document to store the document. When updating the embedded document with update.set(), I can only do ...
skasani's user avatar
  • 11
-1 votes
1 answer
320 views

public Flux<A> updateByFindById(String gsisKey, A a) { return repository.findAllByVesselCode(a.getVesselCode()) .collectList().flatMap(list->{ return ...
Puneet Gupta's user avatar
2 votes
1 answer
3k views

Currently I am new in reactive programming , I have added data in 2 documents, so currently what I am trying to do is to return only those data to client whose tokenIdentifier is same in both document....
Farahnaaz Pathan's user avatar
1 vote
1 answer
2k views

I have a bunch of Document in a Collection and would like to retrieve all of them. This is my situation: I am using the Java Reactive Streams driver I am using the CodecRegistry to get my Document ...
Shankha057's user avatar
  • 1,381
1 vote
1 answer
1k views

Context: I coded a Kafka Consumer which receives a simple message and I want to insert it to MongoDb using com.mongodb.reactivestreams.client.MongoClient. Althought I understand my issue is all about ...
Jim C's user avatar
  • 4,455