| Constructor and Description |
|---|
SinkRecord() |
| Modifier and Type | Method and Description |
|---|---|
void |
ack() |
void |
fail() |
Optional<String> |
getDestinationTopic() |
Optional<Long> |
getEventTime() |
Optional<String> |
getKey() |
Optional<org.apache.pulsar.client.api.Message<T>> |
getMessage() |
Optional<String> |
getPartitionId() |
Optional<Integer> |
getPartitionIndex() |
Map<String,String> |
getProperties() |
Optional<Long> |
getRecordSequence() |
org.apache.pulsar.client.api.Schema<T> |
getSchema() |
Record<T> |
getSourceRecord() |
Optional<String> |
getTopicName() |
T |
getValue() |
public Optional<String> getTopicName()
getTopicName in interface Record<T>public Optional<String> getPartitionId()
getPartitionId in interface Record<T>public Optional<Integer> getPartitionIndex()
getPartitionIndex in interface Record<T>public Optional<Long> getRecordSequence()
getRecordSequence in interface Record<T>public Map<String,String> getProperties()
getProperties in interface Record<T>public Optional<String> getDestinationTopic()
getDestinationTopic in interface Record<T>public org.apache.pulsar.client.api.Schema<T> getSchema()
public Optional<Long> getEventTime()
getEventTime in interface Record<T>public Optional<org.apache.pulsar.client.api.Message<T>> getMessage()
getMessage in interface Record<T>Copyright © 2017–2021 Apache Software Foundation. All rights reserved.