public class HdfsStringSink extends HdfsAbstractTextFileSink<String,String> implements Sink<String>
writerhdfsSinkConfig, syncThread, unackedRecordscompressionCodecFactory, connectorConfig, hdfsResources| Constructor and Description |
|---|
HdfsStringSink() |
| Modifier and Type | Method and Description |
|---|---|
KeyValue<String,String> |
extractKeyValue(org.apache.pulsar.functions.api.Record<String> record) |
close, createWriter, writeconnectToHdfs, getHdfsStream, getOutputStreamBuilder, getPath, launchSyncThread, opencheckHdfsUriForTimeout, getCompressionCodec, getCompressionCodecFactory, getConfiguration, getEncoding, getFileSystem, getFileSystem, getFileSystemAsUser, getUserGroupInformation, resetHDFSResourcesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic KeyValue<String,String> extractKeyValue(org.apache.pulsar.functions.api.Record<String> record)
extractKeyValue in class HdfsAbstractSink<String,String>Copyright © 2017–2021 Apache Software Foundation. All rights reserved.