init user-service

This commit is contained in:
2023-09-27 16:51:22 +01:00
parent 0341a938fd
commit b725dae0f9
21 changed files with 5565 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# User Service
## Event Documentation
* Events Produced:
* **Topic:** "``user``" | **Schema:** "``UserEvent``" protobuf
* Type: ``"created"`` | Data: ``User``
* Type: ``"updated"`` | Data: ``User``
* Type: ``"deleted"`` | Data: ``User``
* Events Consumed:
* N/A
## Configuration
### Environment Variables
**MongoDB:**
``MONGODB_URI`` (Required)
* e.g. "mongodb://mongo:mongo@localhost:27017/"
---
**Kafka:**
``KAFKA_BROKERS`` (Required)
* e.g. "localhost:9092" or "localhost:9092,localhost:9093"