public class StringMessageAndMetadataScheme extends StringScheme implements MessageMetadataScheme
Modifier and Type | Field and Description |
---|---|
static String |
STRING_SCHEME_OFFSET |
static String |
STRING_SCHEME_PARTITION_KEY |
STRING_SCHEME_KEY
Constructor and Description |
---|
StringMessageAndMetadataScheme() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
deserializeMessageWithMetadata(ByteBuffer message,
Partition partition,
long offset) |
Fields |
getOutputFields() |
deserialize, deserializeString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserialize
public static final String STRING_SCHEME_PARTITION_KEY
public static final String STRING_SCHEME_OFFSET
public List<Object> deserializeMessageWithMetadata(ByteBuffer message, Partition partition, long offset)
deserializeMessageWithMetadata
in interface MessageMetadataScheme
public Fields getOutputFields()
getOutputFields
in interface Scheme
getOutputFields
in class StringScheme
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.