Package org.apache.pulsar.io.twitter
Class TwitterFireHose
- All Implemented Interfaces:
AutoCloseable,Source<TweetData>
Simple Push based Twitter FireHose Source.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pulsar.io.core.PushSource
readMethods inherited from class org.apache.pulsar.io.core.AbstractPushSource
consume, getQueueLength, notifyError, readNext
-
Constructor Details
-
TwitterFireHose
public TwitterFireHose()
-
-
Method Details
-
open
- Throws:
IOException
-
close
- Throws:
Exception
-