Step# 1 - Create example directory and copy following files to your workstation.
main.go
config.toml
The CDP configuration settings, this file defines the data storage which contains the pre-generated Ledger Metadata files. The S3 Public Blockchain bucket for Stellar Pubnet is used in this example.
distributed_payment_subsciber.py
A Python script demonstrating how we now have distributed processing and event driven architecture by leveraging the MQ Broker to push derived application payment data model out to other microservices. Make sure to pip install pyzmq
Step# 2 - Compile and run the ingestion pipeline example.
Step# 3 - Run the distributed pipeline consumer
In separate terminal, runpython distributed_payment_subsciber.py, this will perform distributed pipeline topology, as it receives messages with payment info from the pipeline process and does additional processing(printing it to console).