Configure Dapr pub/sub components for event-driven communication between LearnFlow microservices via Kafka
Apply Dapr pub/sub component:
kubectl apply -f scripts/kafka-pubsub.yaml -n learnflow
Test publish/subscribe:
python scripts/test_pubsub.py
Verify subscriptions are active:
python scripts/verify.py
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: kafka-pubsub
spec:
type: pubsub.kafka
metadata:
- name: brokers
value: "my-cluster-kafka-bootstrap.kafka.svc.cluster.local:9092"
| Service | Subscribes to | Publishes to | |---------|--------------|--------------| | concepts | learning.query.explain | learning.response | | debug | code.debug.request | code.debug.response | | exercise | exercise.generate | exercise.result | | progress | progress.update | struggle.alert |
See REFERENCE.md for topic schema and payload formats.
npx skills add Asmayaseen/dapr-pubsub-binding下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer