muyu-apiserver/deploy/README-graph-stack.md

36 lines
806 B
Markdown
Raw Permalink Normal View History

# Graph Stack Deploy Guide
This stack is the long-term CRM data architecture baseline:
- PostgreSQL as source of truth
- Kafka + Debezium for CDC
- Neo4j as graph analytics store
## Start
```bash
cd muyu-apiserver/deploy
docker compose -f docker-compose.graph.yaml up -d
```
## Endpoints
- PostgreSQL: `localhost:5432`
- Kafka broker: `localhost:9092`
- Debezium Connect: `http://localhost:8083`
- Neo4j Browser: `http://localhost:7474`
- Kafka UI: `http://localhost:8086`
## Stop
```bash
cd muyu-apiserver/deploy
docker compose -f docker-compose.graph.yaml down
```
## Notes
- This stack does not yet migrate existing MySQL business tables.
- Existing API services still run with current MySQL model code.
- Next phase is to add GraphSyncWorker and migrate APIs to PostgreSQL-backed CRM tables.