Commit Graph
11 Commits
Author SHA1 Message Date
chrislu 5aee693eac mq(kafka): Phase 2 - implement SeaweedMQ integration
- Add AgentClient for gRPC communication with SeaweedMQ Agent
- Implement SeaweedMQHandler with real message storage backend
- Update protocol handlers to support both in-memory and SeaweedMQ modes
- Add CLI flags for SeaweedMQ agent address (-agent, -seaweedmq)
- Gateway gracefully falls back to in-memory mode if agent unavailable
- Comprehensive integration tests for SeaweedMQ mode
- Maintains full backward compatibility with Phase 1 implementation
- Ready for production use with real SeaweedMQ deployment
2025-09-10 13:20:31 -07:00
chrislu 23aac0619b mq(kafka): implement comprehensive E2E tests with protocol-level validation, multi-client support, and stress testing; complete Phase 1 implementation 2025-09-10 12:59:42 -07:00
chrislu 59f1c3dda5 mq(kafka): implement Fetch handler with record batch construction, high watermark tracking, and comprehensive test coverage for consumer functionality 2025-09-10 12:57:19 -07:00
chrislu 3f10822df2 fmt 2025-09-10 12:49:52 -07:00
chrislu 3eaff0e787 mq(kafka): implement offset ledger system with thread-safe in-memory mapping from Kafka offsets to timestamps; integrate with ListOffsets handler and topic lifecycle 2025-09-10 12:46:29 -07:00
chrislu 9d54b5f569 fmt 2025-09-10 12:42:55 -07:00
chrislu c7b6103e31 mq(kafka): implement CreateTopics/DeleteTopics handlers with in-memory topic registry and comprehensive validation; now supports 5 API keys 2025-09-10 12:42:03 -07:00
chrislu 9b6faa1910 mq(kafka): implement ListOffsets protocol handler stub for earliest/latest offset queries with comprehensive tests 2025-09-10 12:36:27 -07:00
chrislu e5920f55f3 mq(kafka): implement Metadata protocol handler stub with broker discovery and comprehensive tests 2025-09-10 12:32:33 -07:00
chrislu fdb7f94526 fmt 2025-09-10 12:30:11 -07:00
chrislu 7c4a5f546c mq(kafka): implement ApiVersions protocol handler with manual binary encoding and comprehensive unit tests 2025-09-10 11:21:52 -07:00