Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
44 views

I am using the Couchbase Java SDK and need to update a field in a large number of documents (100k–200k). The update depends on three fields, and I must update a fourth field inside a transactional ...
Prudhvi Bellam's user avatar
0 votes
1 answer
47 views

At some point in our code using rxjava we have public Maybe<Event> verifyFoo(Event event){ return Maybe.just(event) .flatMap(this::foo) .doOnComplete(() -> ...
Dans Merino's user avatar
0 votes
1 answer
89 views

I'm experiencing a confusing timing issue with RxJava's Maybe operators in a high-throughput service (40 TPS) with concurrent execution. I have two classes that log execution times, but they're ...
Karthik Bhat's user avatar
1 vote
0 answers
103 views

Given: an Observable that emits the user input; 3 states: Success, Error, Idle (shows nothing, may be treated as some progress). I want the following behavior: as soon as the user types, check if ...
ivan8m8's user avatar
  • 477
1 vote
1 answer
33 views

In RxJava, is subscribeOn(mainThread).subscribe() guaranteed to run synchronously in mainThread? Or is it possible that another piece of work already scheduled to run on the main thread may run first? ...
detcle's user avatar
  • 91
0 votes
0 answers
44 views

I am trying to implement background polling in an RxJava-based Android application where: A repository periodically fetches data from an API every 10 seconds and emits updates via a BehaviorSubject. ...
Moe's user avatar
  • 1,665
0 votes
0 answers
23 views

I am attempting to stream a large HTTP request between my Vert.x services. For this purpose, I am using io.vertx.reactivex.ext.web.client.WebClient, which takes a Flowable as input for the ...
horak90's user avatar
  • 25
0 votes
0 answers
24 views

Let's say I have two observables Observable<A> with values like (1, Ametadata), (2, Ametadata) 1, 2 ... are ids and Ametadata is additional attributes of A Observable<B> with values like (...
hpkancha's user avatar
0 votes
1 answer
74 views

Working on updating my app from RxJava2 to RxJava3. I know there are some updates to how groupBy works from reading the documentation, but I'm having trouble understanding why I'm seeing this ...
Gwarglemar's user avatar
0 votes
1 answer
46 views

I have rxjava3 Flowable having Item objects and want to run async operation in batches only for elements matching a condition. Then I want to allow downstream operators to iterate over original Item ...
kodstark's user avatar
  • 492
0 votes
1 answer
43 views

I am trying to understand a difference between below two snippets using rxRequest/rxSend vs request/send. They seem to behave in the same way. RecordParser parser = RecordParser.newDelimited("\n&...
kodstark's user avatar
  • 492
1 vote
1 answer
44 views

I need to handle different types of events in a strict one by one manner, but in a background thread. According to the documentation, the next code, Schedulers.from(executor, false, true);, should ...
Lunigorn's user avatar
  • 1,422
1 vote
2 answers
75 views

I have an Observable[T] which emits continuously and I want an Observable[List[T]] which emits the last elements in a specified duration for each element the source emits. Example Observable. range(0, ...
Giuliano De Sabata's user avatar
0 votes
2 answers
99 views

Reactive Streams is built around back pressure what is great and I would like to better understand how to use RxJava3 API. The approach to drop overflow data for GUI events is perfectly fine but if I ...
kodstark's user avatar
  • 492
0 votes
2 answers
89 views

I have to call an API which returns an object, and inside this object, there is a list. For each item in this list, I have to retrieve item details. To retrieve details, I have to make async API calls ...
nightfixed's user avatar

15 30 50 per page
1
2 3 4 5
465