public static class KafkaClientHdfsTopo.LineWriter extends Object implements RecordFormat
Constructor and Description |
---|
LineWriter(String fieldName) |
Modifier and Type | Method and Description |
---|---|
byte[] |
format(Tuple tuple) |
KafkaClientHdfsTopo.LineWriter |
withLineDelimiter(String delimiter)
Overrides the default record delimiter.
|
public LineWriter(String fieldName)
public KafkaClientHdfsTopo.LineWriter withLineDelimiter(String delimiter)
Overrides the default record delimiter.
public byte[] format(Tuple tuple)
format
in interface RecordFormat
Copyright © 2020 The Apache Software Foundation. All rights reserved.