rwadurian/backend/services/contribution-service/.env.example

23 lines
545 B
Plaintext

# Application
APP_PORT=3020
NODE_ENV=development
# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/rwa_contribution?schema=public"
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
# Kafka
KAFKA_BROKERS=localhost:9092
KAFKA_GROUP_ID=contribution-service-group
# JWT (for auth validation)
JWT_SECRET=your-jwt-secret
# CDC Topics (从1.0系统全量同步)
CDC_TOPIC_USERS=cdc.identity.public.user_accounts
CDC_TOPIC_ADOPTIONS=cdc.planting.public.planting_orders
CDC_TOPIC_REFERRALS=cdc.referral.public.referral_relationships