The ZMQ channel to subscribe to.
The ZMQ channel to subscribe to.
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 publisher socket.
The hostname of the publisher socket. They should implement a ZMQ_PUB socket.
If you connect too localhost, do not use localhost
but 127.0.0.1
instead.
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 publisher socket.
The port of the publisher socket. They should implement a ZMQ_PUB socket.
Listens to publishes message and publishes them as bbuzz.Tweets.
Listens to publishes message and publishes them as bbuzz.Tweets.
As calls to ZMQ
s recv method on sockets can block, this will do so in a new Thread.
an Observable
of Tweets
Example of connection to ZeroMQ and printing the Tweets hash tags.