THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
CREATE TABLE kafka_table ( 'key.format.type' = 'csv', 'value.format.type' = 'avro', |
An insert statement:
...
- key.fields, key.format.type, key.format.(<properties-required-by-format>) - this controls which fields should end up in Kafka’s key and what should be the serialization format
- value.fields.-include,
- value.fields.-include - controls which fields should end up in the value as well, possible values
- ALL (all fields of the schema, even if they are part of e.g. the key)
- EXCEPT_KEY (all fields of the schema - fields of the key)
- EXCEPT_KEY_TIMESTAMP (all fields of the schema - fields of the key - field of timestamp)
- value.format.type, value.format.(<properties-required-by-format>) - I suggest having the “value” prefix optional, this way we could be backwards compatible with previous declarations
...