-
Notifications
You must be signed in to change notification settings - Fork 6
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(client): log stream appender manager #475
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## main #475 +/- ##
==========================================
+ Coverage 62.30% 62.35% +0.05%
==========================================
Files 133 133
Lines 18415 18446 +31
==========================================
+ Hits 11473 11502 +29
- Misses 6363 6371 +8
+ Partials 579 573 -6
☔ View full report in Codecov by Sentry. |
This PR adds a manager for log stream appenders, `pkg/varlog/x/mlsa.(Manager)`. It provides two methods: - `pkg/varlog/x/mlsa.(Manager).Get`: Get a LogStreamAppender specified by the given topic and log stream. - `pkg/varlog/x/mlsa.(Manager).Any`: Get a writable LogStreamAppender belonging to the given topic.
What this PR does
This PR adds a manager for log stream appenders,
pkg/varlog/x/mlsa.(Manager)
. It provides two methods:pkg/varlog/x/mlsa.(Manager).Get
: Get a LogStreamAppender specified by the given topic and log stream.pkg/varlog/x/mlsa.(Manager).Any
: Get a writable LogStreamAppender belonging to the given topic.