public static enum KinesisSinkConfig.MessageFormat extends Enum<KinesisSinkConfig.MessageFormat>
| Enum Constant and Description |
|---|
FULL_MESSAGE_IN_FB
Kinesis sink sends message serialized in flat-buffer.
|
FULL_MESSAGE_IN_JSON
Kinesis sink creates a json payload with message-payload, properties and encryptionCtx and publishes json
payload to kinesis stream.
|
FULL_MESSAGE_IN_JSON_EXPAND_VALUE
Kinesis sink sends a JSON structure containing the record topic name, key, payload, properties and event time.
|
ONLY_RAW_PAYLOAD
Kinesis sink directly publishes pulsar-payload as a message into the kinesis-stream.
|
| Modifier and Type | Method and Description |
|---|---|
static KinesisSinkConfig.MessageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KinesisSinkConfig.MessageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KinesisSinkConfig.MessageFormat ONLY_RAW_PAYLOAD
public static final KinesisSinkConfig.MessageFormat FULL_MESSAGE_IN_JSON
public static final KinesisSinkConfig.MessageFormat FULL_MESSAGE_IN_FB
public static final KinesisSinkConfig.MessageFormat FULL_MESSAGE_IN_JSON_EXPAND_VALUE
public static KinesisSinkConfig.MessageFormat[] values()
for (KinesisSinkConfig.MessageFormat c : KinesisSinkConfig.MessageFormat.values()) System.out.println(c);
public static KinesisSinkConfig.MessageFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2022 Apache Software Foundation. All rights reserved.