Skip to content

Commit ddb950d

Browse files
committed
feat: support of otf metadata for iceberg destinations
1 parent 8e674da commit ddb950d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

events/firehose.go

+8-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,14 @@ type KinesisFirehoseResponseRecord struct {
3737
}
3838

3939
type KinesisFirehoseResponseRecordMetadata struct {
40-
PartitionKeys map[string]string `json:"partitionKeys"`
40+
PartitionKeys map[string]string `json:"partitionKeys"`
41+
OtfMetadata KinesisFirehoseResponseRecordMetadataOtfMetadata `json:"otfMetadata"`
42+
}
43+
44+
type KinesisFirehoseResponseRecordMetadataOtfMetadata struct {
45+
DestinationDatabaseName string `json:"destinationDatabaseName"`
46+
DestinationTableName string `json:"destinationTableName"`
47+
Operation string `json:"operation"`
4148
}
4249

4350
type KinesisFirehoseRecordMetadata struct {

0 commit comments

Comments
 (0)