Interface InboundKinesisRecord
-
- All Superinterfaces:
KinesisRecord
@Immutable @DoNotImplement public interface InboundKinesisRecord extends KinesisRecord
Represents an inbound Amazon Kinesis record that was read from Kinesis.The internal state of this interface is immutable.
- Since:
- 4.14.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Instant
getApproximateArrivalTimestamp()
@NotNull String
getEncryptionType()
@NotNull String
getSequenceNumber()
-
Methods inherited from interface com.hivemq.extensions.amazon.kinesis.api.model.KinesisRecord
getData, getDataAsByteArray, getPartitionKey, getStreamName
-
-
-
-
Method Detail
-
getSequenceNumber
@NotNull @NotNull String getSequenceNumber()
- Returns:
- The unique identifier of the record within its shard.
- Since:
- 4.14.0
-
getApproximateArrivalTimestamp
@NotNull @NotNull Instant getApproximateArrivalTimestamp()
- Returns:
- The approximate time that the record was inserted into the stream.
- Since:
- 4.14.0
-
-