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

`StreamConverters.asInputStream` does not seem like a right tool for your 
problem, at least to me. Higher-level stream operators are not always good 
enough, I would likely consider using a [custom graph 
stage](https://pekko.apache.org/docs/pekko/1.0/stream/stream-customize.html#custom-processing-with-graphstage)
 to implement stateful processing that takes the `ByteString` elements as input 
and returns the result of `Tika().detect` as output.

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

----
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