GitHub user mdedetrich added a comment to the discussion: 
`StreamConverters.asInputStream` not workable when using broadcast with 
`ByteString` source?

@pjfanning Unfortunately its not really possible/easy to test with Pekko 1.0.0 
because we rely on new features and this issue only happens in production.

My current suspicion for the underlying issue is that there is a race condition 
between `inputStream.close()` and `Tika().detect(inputStream)` where for some 
reason the `inputStream.close()` happens before `Tika().detect(inputStream)`.

I don't know how/why this happens but it does explain the current behaviour.

GitHub link: 
https://github.com/apache/pekko/discussions/1807#discussioncomment-12600296

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to