@Internal public class DebeziumOffset extends Object implements Serializable
This class describes the most basic state that Debezium used for recovering based on Kafka Connect mechanism. It includes a sourcePartition and sourceOffset.
The sourcePartition represents a single input sourcePartition that the record came from (e.g. a filename, table name, or topic-partition). The sourceOffset represents a position in that sourcePartition which can be used to resume consumption of data.
These values can have arbitrary structure and should be represented using org.apache.kafka.connect.data objects (or primitive values). For example, a database connector might specify the sourcePartition as a record containing { "db": "database_name", "table": "table_name"} and the sourceOffset as a Long containing the timestamp of the row.
| 限定符和类型 | 字段和说明 |
|---|---|
Map<String,?> |
sourceOffset |
Map<String,?> |
sourcePartition |
| 构造器和说明 |
|---|
DebeziumOffset() |
Copyright © 2025 The Apache Software Foundation. All rights reserved.