public interface Connector<S,T>
RealTimeLineReader
to parse the data and
finally sink into RealTimeWriter
. Each Connector can connect and write to one data source
at a time.Modifier and Type | Method and Description |
---|---|
void |
connectAndStream(RealTimeLineReader<T> parser,
RealTimeWriter<T> writer)
Synchronous call to connect to the source , parse and write it.
|
void connectAndStream(RealTimeLineReader<T> parser, RealTimeWriter<T> writer) throws Exception
T
- parser
- writer
- Exception
Copyright © 2018. All rights reserved.