While the ingestion script is running, you can monitor the progress from the CCSIngest
Kafka topic by running a Kafka console consumer on the topic.
Procedure
-
Log in to the Kafka server.
- Run the following command to list the Docker containers:
- Open a terminal window for the Kafka docker container:
docker exec -it CONTAINERID bash
- Go to the /opt/kafkfa directory.
- Run the following command to run the Kafka consumer:
bin/kafka-console-consumer.sh --bootstrap-server servername:port --topic CCSIngest --from-beginning
The resulting message format contains the following parameters:
- date: Current date
- protocol: The format of data, such as FIX
- stream_id: The source from where data is coming, such as NETS or Raptor
- records: The number of records that got ingested
- tRecords: The total number of records to be ingested
- status: The status of the ingestion, such as Ingesting and DataReady