You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/demos/pages/nifi-kafka-druid-earthquake-data.adoc
+106-1Lines changed: 106 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Additionally, we have to use the FQDN service names (including the namespace), s
27
27
To run this demo, your system needs at least:
28
28
29
29
* 9 {k8s-cpu}[cpu units] (core/hyperthread)
30
-
* 42GiB memory
30
+
* 42GiB memory (minimum of 16GiB per node)
31
31
* 75GiB disk storage
32
32
33
33
== Overview
@@ -86,6 +86,111 @@ $ stackablectl stacklet list
86
86
87
87
include::partial$instance-hint.adoc[]
88
88
89
+
== Inspect the data in Kafka
90
+
91
+
Kafka is an event streaming platform to stream the data in near real-time.
92
+
All the messages put in and read from Kafka are structured in dedicated queues called topics.
93
+
The test data will be put into a topic called `earthquakes`.
94
+
The records are produced (written) by the test data generator and consumed (read) by Druid afterwards in the same order they were created.
95
+
96
+
Kafka uses mutual TLS, so clients wanting to connect to Kafka must present a valid TLS certificate.
97
+
The easiest way to obtain this is to shell into the `kafka-broker-default-0` Pod, as we will do in the following section for demonstration purposes.
98
+
For a production setup, you should spin up a dedicated Pod provisioned with a certificate acting as a Kafka client instead of shell-ing into the Kafka Pod.
99
+
100
+
=== List the available Topics
101
+
102
+
You can execute a command on the Kafka broker to list the available topics as follows:
103
+
104
+
// In the following commands the kcat-prober container instead of the kafka container is used to send requests to Kafka.
105
+
// This is necessary because kcat cannot use key- and truststore files with empty passwords, which are mounted here to the kafka container.
106
+
// However, the kcat-prober container has TLS certificates mounted, which can be used by kcat to connect to Kafka.
0 commit comments