Today, we will build a simple crypto trading bot using Python, TradingView, and CoinDCX, an Indian crypto exchange.
The functionality of our trading app can be summarized as follows:-
We will be integrating apache kafka with springboot micro-services as a mode of communication .
We will have 2 micro-services —
Pre-requisites & Setup :
Step.1 — Download and run Zookeeper . (used to track the status of kafka nodes and stores basic metadata such as information about topics, brokers, consumer offsets )
Note — If you face error running zookeeper service regarding config file, try to change the config file name to “zoo.cfg” .
Bash from zookeeper root — sh bin/zkServer.sh start
An API Gateway acts as a reverse proxy sitting between client and micro services, routing requests from client side to various micro-services . User/client makes a request to a single host (gateway server) and need not know all the microservices servers , just single entry point to your application .