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
{{ message }}
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.
It looks like the class proio/Reader.java cannot use the method seekToStart for streams (it works only for local files).
This creates a problem for random access of events using URL (the method skip() is not sufficient for this). Can you add a support for streams in the seekToStart() method?
best, Sergei
The text was updated successfully, but these errors were encountered:
Hi Sergei (@chekanov). What you describe is inherent to the fundamental design of ProIO. Streams are inherently not seekable, and ProIO has a major focus on being compatible with streams. In order for a stream to become seekable, it must be buffered, either partially or entirely (buffering an entire stream is just downloading, of course).
I tend to agree that supporting stream buffering would be beneficial. I will work on a way to do this that can be applied generally.
Thanks for the Issue, and I'll get back to you on this soon!
Hi, David
It looks like the class proio/Reader.java cannot use the method seekToStart for streams (it works only for local files).
This creates a problem for random access of events using URL (the method skip() is not sufficient for this). Can you add a support for streams in the seekToStart() method?
best, Sergei
The text was updated successfully, but these errors were encountered: