mirror of
https://github.com/hexolan/panels.git
synced 2026-03-26 12:40:21 +00:00
init user-service
This commit is contained in:
30
services/user-service/README.md
Normal file
30
services/user-service/README.md
Normal 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"
|
||||
Reference in New Issue
Block a user