Open takeshitakenji opened 1 year ago
I can put up a PR to add this later on.
Hey @takeshitakenji , yes that's a good point. I don't really master this topic because it was developed by someone else but if you feel that you can improve it, feel free to submit a pull request !
I can put up a PR to add this later on.
yes it would be perfect !
I've been dealing with strange network timeouts during filtered streams recently, and while I was able to supply network timeouts to the HTTP layer by switching to Scribe's Apache HTTP client backend, twittered doesn't have a way to supply a timeout to
TwitterClient.stopFilteredStream()
. Below is a stack trace showing the cancellation taking 25 minutes when it should be much closer to the 1 minute timeout I specified to the HTTP layer. (TwitterProducer
is my code and is what callsTwitterClient.stopFilteredStream()
with the future as dictated in the twittered documentation.)