The Redis db.
The Redis db.
Gets called when an exception occurred during providing the Tweets.
Gets called when an exception occurred during providing the Tweets. This will be a fatal exception, and tweets will not continue to flow after this exception occurred.
the fatal exception
The hostname of the Redis server.
The hostname of the Redis server.
Uses the 2.8 Redis SCAN API to obtain Tweets.
Uses the 2.8 Redis SCAN API to obtain Tweets.
an Iterable of Strings, where every String is the JSON representation on a bbuzz.Tweet
Gets called for every tweet that is pulled from the bbuzz.TweetProvider.
Gets called for every tweet that is pulled from the bbuzz.TweetProvider. This method should not block and complete quickly.
a new bbuzz.Tweet
The port of the Redis server.
The port of the Redis server.
Tweets are provided as an rx.lang.scala.Observable.
Tweets are provided as an rx.lang.scala.Observable.
You can implement this in any way you like, though you might want to have a look at the companions object's helper traits.
This Observable
will be consumed by a bbuzz.TweetConsumer
an Observable
of Tweets
Example of connecting to Redis and printing the Tweets text.