public class WebsocketCaptureDevice extends CaptureDevice<byte[],byte[]>
bufferedPublisher, stats| Constructor and Description |
|---|
WebsocketCaptureDevice(WebsocketCaptureDeviceConfig config,
io.thill.trakrj.Stats stats) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup() |
protected RecordPopulator |
createRecordPopulator(String topic,
int partition,
Clock clock) |
protected boolean |
doWork() |
protected void |
init() |
static void |
main(String... args) |
protected void |
onClose() |
close, isStarted, run, startpublic WebsocketCaptureDevice(WebsocketCaptureDeviceConfig config, io.thill.trakrj.Stats stats) throws IOException
IOExceptionpublic static void main(String... args) throws IOException
IOExceptionprotected RecordPopulator createRecordPopulator(String topic, int partition, Clock clock)
createRecordPopulator in class CaptureDevice<byte[],byte[]>protected void init()
init in class CaptureDevice<byte[],byte[]>protected boolean doWork()
doWork in class CaptureDevice<byte[],byte[]>protected void cleanup()
cleanup in class CaptureDevice<byte[],byte[]>protected void onClose()
onClose in class CaptureDevice<byte[],byte[]>Copyright © 2019. All rights reserved.