Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • connector metadata has no prefix
  • formats will have a prefix using the factory identifier
  • key/value formats are prefixed with `key.` and `value.`

Note: We will use a relaxed data type validation (such as `LogicalTypeCasts#supportsAvoidingCast`) to make timestamp handling easier. So both TIMESTAMP and TIMESTAMP WITH LOCAL TIME ZONE will work in DDL. 

Kafka

KeyData typeRead/WriteNotes
topic
STRINGrWe don't allow writing to different topics for now. Maybe we will allow that in the future via a property.
partition
INTrWe don't allow writing to different partitions for now. Maybe we will allow that in the future via a property.
headers
MAP<STRING, BYTES>r/w
leader-epoch
INTr
offset
BIGINTr
timestamp
TIMESTAMP(3) [WITH LOCAL TIME ZONE]
BIGINTr/wDirectly forward the underlying type. Do not try to abstract it into a TIMESTAMP.
timestamp-type
STRINGr['NoTimestampType', 'CreateTime', 'LogAppendTime']

Debezium

KeyData typeRead/WriteNotes
debezium-json.schema
STRINGrPure JSON string, can be handled with Flink's built-in JSON SQL functions
debezium-json.timestamp
TIMESTAMP(3) [WITH LOCAL TIME ZONE]
BIGINTrDirectly forward the underlying type. Do not try to abstract it into a TIMESTAMP.
r
debezium-json.source
MAP<STRING, STRING>rIt seems that this is always a property list. So we can make it available as a map for easier access.

Reading and writing from key and value

...