Skip to content

Commit

Permalink
[Kafka Ingestion Tutorial] Update docs for Schema Config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Tumma committed Oct 24, 2024
1 parent c4b513e commit ab294b3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
Binary file modified docs/assets/tutorial-kafka-data-loader-05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/tutorial-kafka-data-loader-05b.png
Binary file not shown.
11 changes: 1 addition & 10 deletions docs/tutorials/tutorial-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,7 @@ To use the console data loader:

![Data loader schema](../assets/tutorial-kafka-data-loader-05.png "Data loader schema")

7. In the **Configure schema** step, you can select data types for the columns and configure [dimensions](../ingestion/schema-model.md#dimensions) and [metrics](../ingestion/schema-model.md#metrics) to ingest into Druid. The console does most of this for you, but you need to create JSON-type dimensions for the three nested columns in the data.

Click **Add dimension** and enter the following information. You can only add one dimension at a time.
- Name: `event`, Type: `json`
- Name: `agent`, Type: `json`
- Name: `geo_ip`, Type: `json`

After you create the dimensions, you can scroll to the right in the preview window to see the nested columns:

![Nested columns schema](../assets/tutorial-kafka-data-loader-05b.png "Nested columns schema")
7. In the **Configure schema** step, you can select data types for the columns and configure [dimensions](../ingestion/schema-model.md#dimensions) and [metrics](../ingestion/schema-model.md#metrics) to ingest into Druid. The console does most of this for you. Notice that the dimensions `event`, `agent` and `geo_ip` are of the type `json`.

8. Click **Next: Partition** to configure how Druid partitions the data into segments.

Expand Down

0 comments on commit ab294b3

Please sign in to comment.