Skip to content
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

DistributedPubSub: make query to count local subscribers for topic public #6856

Merged
merged 4 commits into from Jul 27, 2023

Conversation

Aaronontheweb
Copy link
Member

Changes

close #3663 - between this and Topics all local data should be queryable for distributed pub-sub

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):

…blic

close akkadotnet#3663 - between this and `Topic`s all local data should be queryable for distributed pub-sub
/// </summary>
internal sealed class CountSubscribers
public sealed class CountSubscribers
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just made this internal class public - left it inside the .Internal namespace though (which I think this fine - it's public but we reserve the right to change it, per our API guidelines: https://getakka.net/community/contributing/api-changes-compatibility.html#akkanet-api-versioning-policy )

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to decorate this class with [ApiMayChange] attribute for documentation purposes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do

Copy link
Contributor

@Arkatufus Arkatufus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a nitpick

/// </summary>
internal sealed class CountSubscribers
public sealed class CountSubscribers
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to decorate this class with [ApiMayChange] attribute for documentation purposes

@Aaronontheweb Aaronontheweb merged commit 28bdef6 into akkadotnet:dev Jul 27, 2023
1 of 11 checks passed
@Aaronontheweb Aaronontheweb deleted the close-3663-countTopics branch July 27, 2023 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: add ability to retrieve subscriber / topic stats from DistributedPubSubMediator
2 participants