This tutorial is to demo locally on how Singer works. In this tutorial, we use Singer to upload data in $SINGER_HOME/tutorial/sample_data to a local Kafka broker, and then tail the local kafka topics to see the uploaded messages and Singer heartbeats. The related Singer configurations are at $SINGER_HOME/tutorial/etc/singer.
Run the following command under Singer home directory:
mvn clean package -pl singer -am -DskipTests
tutorial_quickstart.sh downloads kafka binary, start a local zookeeper process and a kafka process, create kafka topics for this tutorial, and start Singer process.
$SINGER_HOME/tutorial/tutorial_quickstart.sh
tutorial_kafka_tailer.sh shows the messages that uploaded by Singer to the local Kafka broker.
$SINGER_HOME/tutorial/tutorial_kafka_tailer.sh
tutorial_singer_heartbeats.sh allows us to view the heartbeat messages that Singer sends to Kafka. In this tutorial, we set the heartbeat interval as 10 seconds.
$SINGER_HOME/tutorial/tutorial_singer_heartbeats.sh
Singer heartbeat messages can be used for central Singer monitoring, alerting, and visualization.