Configuring Kafka tables
The Kafka table editor has a Properties panel and four tabs. Together they define the connection, the schema, the timestamps, the read position, and the deserialization error policy of the table.
Parts of the Kafka table editor
| Where | What you set | See |
|---|---|---|
| Properties panel | Table Name, Kafka Cluster, Data Format, Topic Name | Creating Kafka tables with the wizard |
| Schema Definition tab | The columns of the table | Defining the schema of a Kafka table |
| Event Time tab | The event time column and the watermark | Defining event time for Kafka tables |
| Properties tab | The read position, the consumer group, and Kafka properties | This topic |
| Deserialization tab | The policy for records that cannot be read | Handling deserialization errors |
When
you edit an existing table, the editor also has a DDL tab, the first
tab. The CREATE TABLE statement that Cloudera SQL Stream Builder (SSB) generates is displayed in it. You cannot edit
it.
Properties tab
- Default Read Position
- Where a job starts when the consumer group has no committed offset. Beginning of topic reads from the earliest offset. This is the default. End of topic reads only new records.
- Consumer Group
- The Kafka consumer group. If you leave it empty, SSB uses a random consumer group. If you set a consumer group, a job starts from the committed offsets of the group.
- Custom Properties
- Additional Kafka client properties. Enter a Property Key and a
Property Value for each one. SSB passes them to the Kafka
connector with the
properties.prefix.
