You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -167,7 +160,7 @@ The service is composed of several key modules that communicate over specific Ka
167
160
| SchedulerService | Low-level job management using setTimeout. Triggers Kafka events when jobs execute. | - | autopilot.phase.transition |
168
161
| RecoveryService | Runs on startup to sync all active challenges from the API, scheduling them and processing overdue phases. | - | autopilot.phase.transition |
169
162
| SyncService | Runs a periodic cron job to reconcile the scheduler's state with the Challenge API. | - | - |
170
-
| KafkaService | Manages all Kafka producer/consumer connections and schema registry interactions. | All | All |
163
+
| KafkaService | Manages all Kafka producer/consumer connections with JSON serialization. | All | All |
171
164
172
165
173
166
## Project Structure
@@ -204,6 +197,42 @@ test/ # Test files
204
197
205
198
.env # Environment variables
206
199
.env.example # Example env template
200
+
```
201
+
202
+
## JSON Messaging Architecture
203
+
204
+
The service uses a simplified JSON-based messaging approach that aligns with organizational standards and provides several benefits:
205
+
206
+
### Benefits of JSON Messaging
207
+
208
+
-**Simplified Infrastructure**: No need for Schema Registry, reducing deployment complexity
209
+
-**AWS Compatibility**: Works seamlessly with AWS-native Kafka solutions like MSK
210
+
-**Standard Format**: Uses widely-adopted JSON format for better interoperability
0 commit comments