This repository contains the code for the edge-receiver project. The edge-receiver is responsible for receiving and processing data from various sources.
To get started with development, follow the instructions below:
Before you begin, make sure you have the following installed on your system:
- Go programming language
- Reflex (install with
go install github.com/cespare/reflex@latest
) - Docker and Docker Compose
The edge-receiver uses Kafka as a message broker. To run Kafka and the Kafka UI, follow these steps:
- Open a terminal and navigate to the project directory.
- Start Kafka and the Kafka UI using Docker Compose by running the following command:
docker-compose -f kafka.yaml up
To run the edge-receiver, follow these steps:
- Open a terminal and navigate to the project directory.
- Start the edge-receiver using the following command:
make run
To streamline the development process, we recommend using Reflex. Reflex is a tool that automatically rebuilds and restarts your application whenever a file changes.
To use Reflex, open a terminal and navigate to the project directory. Then, run the following command:
make dev