feat(queue/sql): add data access layer stores#21
Merged
Conversation
This was referenced Feb 17, 2026
3477145 to
f312df5
Compare
de255c6 to
aef1d67
Compare
f312df5 to
38c7cf2
Compare
d64e7ab to
7e18f89
Compare
73e753a to
825992e
Compare
abe7aee to
3e04b8e
Compare
e8b1a30 to
c4c3fe6
Compare
3e04b8e to
19130c8
Compare
c4c3fe6 to
454d92d
Compare
19130c8 to
29df5c6
Compare
454d92d to
7dcf5fb
Compare
29df5c6 to
235f7e1
Compare
7dcf5fb to
fc19779
Compare
235f7e1 to
05783ae
Compare
sbalabanov
approved these changes
Feb 20, 2026
behinddwalls
added a commit
that referenced
this pull request
Feb 20, 2026
## Summary ### Why? Need Publisher implementation to enable message publishing to SQL queue topics. ### What? - Publisher validates topic names and publishes single messages via MessageStore - Thread-safe with RWMutex for concurrent publish calls - Idempotent Close() operation - Comprehensive test coverage for publish, validation, metrics, and concurrency - Single and multiple message publishing tested - Invalid topic names rejected (uppercase, special chars, empty) - Publisher closed state prevents further publishes - Concurrent publish operations verified thread-safe - Context cancellation handled correctly ## Test Plan make test ## Issues ## Stack 1. @ #22 1. #23 1. #21 1. #24 1. #34
752bb37 to
bc7b5bb
Compare
- Add MessageStore implementation for message persistence and retrieval - Add OffsetStore implementation for consumption offset tracking - Add PartitionLeaseStore implementation for distributed partition leasing - Add logging and metrics constants for standardized observability - Add table name constants (MessagesTableName, OffsetsTableName, etc.) to stores.go - Add comprehensive integration tests (requires go-mysql-server dependency) - Support DLQ (dead letter queue) for failed message handling - Support visibility timeout and retry logic for message processing
05783ae to
5d6dd4a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why?
Need data access layer to abstract database operations for message storage, offset tracking, and partition leasing in the SQL queue implementation.
What?
Test Plan
Issues