Not all operations show up in the operations stream
See original GitHub issueI am noticing a weird behavior where not all payment operations are showing up in the operations stream. I am creating a stream as such:
const StellarSdk = require('stellar-sdk');
const server = new StellarSdk.Server('https://horizon.stellar.org');
server.operations()
.cursor('now')
.stream({
onmessage: (msg) => console.log(msg)
});
I noticed that in the beginning it gets the payment transaction I make in Prod but over time some payment transactions go missing. Is the stream reliable of is there a bug in the code?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Java Stream Terminal Operations Examples - CodeJava.net
The allMatch()operation answers the question: Do all elements in the stream meet this condition? It returns true if and only if all elements ......
Read more >Understanding Java 8 Streams Operations | Intermediate and ...
Tutorial explains Stream operations basics, intermediate and terminal operations in Java 8 Streams with examples. It explains lazy execution ...
Read more >Java 8 Stream Intermediate And Terminal Operations
Java 8 Stream has many operations which can be pipe lined together to get desired ... Terminal operations can not be chained together....
Read more >Package java.util.stream - Oracle Help Center
An operation on a stream produces a result, but does not modify its source. ... All streams operations can execute either in serial...
Read more >How to combine two java8 stream operations - one terminal ...
Stream operations are divided into intermediate (Stream-producing) operations and terminal (value- or side-effect-producing) operations.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bartekn I am looking for a stream as I am building an application that needs to get all of the operations in the stream and go through them. The stream should not slow down and should be as quick as possible. What you shared is a way to get last n number of operation which may miss out of something.
Did you end up with a solution to this? Having the same problem.