public class HdfsTextSink extends HdfsAbstractSequenceFileSink<String,String,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
counter, hdfsStream, writerhdfsSinkConfig, syncThread, unackedRecordscompressionCodecFactory, connectorConfig, hdfsResources| Constructor and Description |
|---|
HdfsTextSink() |
| Modifier and Type | Method and Description |
|---|---|
KeyValue<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> |
convert(KeyValue<String,String> kv) |
KeyValue<String,String> |
extractKeyValue(org.apache.pulsar.functions.api.Record<String> record) |
protected List<org.apache.hadoop.io.SequenceFile.Writer.Option> |
getOptions() |
close, createWriter, getWriter, writeconnectToHdfs, getHdfsStream, getOutputStreamBuilder, getPath, launchSyncThread, opencheckHdfsUriForTimeout, getCompressionCodec, getCompressionCodecFactory, getConfiguration, getEncoding, getFileSystem, getFileSystem, getFileSystemAsUser, getUserGroupInformation, resetHDFSResourcesprotected List<org.apache.hadoop.io.SequenceFile.Writer.Option> getOptions() throws IllegalArgumentException, IOException
getOptions in class HdfsAbstractSequenceFileSink<String,String,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IllegalArgumentExceptionIOExceptionpublic KeyValue<String,String> extractKeyValue(org.apache.pulsar.functions.api.Record<String> record)
extractKeyValue in class HdfsAbstractSink<String,String>Copyright © 2017–2022 Apache Software Foundation. All rights reserved.