Browse and Dump Kafka Topics
When troubleshooting issues related to data on getting into the destination, you can verify data is getting pulled from the source by viewing the contents of the Kafka topic.
Step-by-step guide
Obtain the topic of the Channel by opening the Config Editor, and hovering over the "i" symbol highlighted below. Copy the topic name.
Open a terminal screen on the StreamWeaver core server and execute the kafka-topic.dump.sh utility (using the topic "SWP_..." you copied)
TOPIC=SWP_53b1969d-1b90-4d19-a0bb-pde88174ffca
cd /opt/streamweaver/bin
./kafka-topic-dump.sh $TOPICTo Dump the contents of a topic, simply pipe to a file
./kafka-topic-dump.sh SWP_53b1969d-1b90-4d19-a0bb-pde88174ffca > /tmp/$TOPIC.json
Related articles
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*