-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: kafka message dispatcher #1641
base: main
Are you sure you want to change the base?
Conversation
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe changes enhance filtering in backend views, introduce a new CLI tool with authentication and Kafka consumption, and add functions for API pagination and message handling. New configuration files, Avro schemas, and Docker Compose files support deployment and dependency management. Additionally, a configuration management module and comprehensive documentation for event streaming have been included. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant CLI as CLI Tool (auth)
participant API as Authentication API
participant File as Token YAML File
U->>CLI: Provide email & password
CLI->>API: Send authentication request
API-->>CLI: Return token / error
CLI->>File: Save token
CLI-->>U: Display authentication result
sequenceDiagram
participant CLI as CLI Tool (consume)
participant Kafka as Kafka Broker
participant Registry as Message Registry
participant API as Backend API
CLI->>Kafka: Subscribe to "observation" topic
Kafka-->>CLI: Deliver message
CLI->>CLI: Decode and validate message
CLI->>Registry: Dispatch message to handler
Registry->>API: Execute update/attachment upload
API-->>Registry: Return update result
Registry-->>CLI: Return processing status
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
89c1801
to
65e706f
Compare
Summary by CodeRabbit
New Features
Documentation