Class TopicPartitionOffset
java.lang.Object
org.apache.iceberg.connect.events.TopicPartitionOffset
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer
,org.apache.avro.generic.IndexedRecord
Element representing an offset, with topic name, partition number, and offset.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTopicPartitionOffset
(String topic, int partition, Long offset, OffsetDateTime timestamp) TopicPartitionOffset
(org.apache.avro.Schema avroSchema) -
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
topic
-
partition
-
offset
-
timestamp
-
getSchema
public org.apache.avro.Schema getSchema()- Specified by:
getSchema
in interfaceorg.apache.avro.generic.GenericContainer
-
put
- Specified by:
put
in interfaceorg.apache.avro.generic.IndexedRecord
-
get
- Specified by:
get
in interfaceorg.apache.avro.generic.IndexedRecord
-