-
Notifications
You must be signed in to change notification settings - Fork 2
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!: determine pubsubTopic based on contentTopic #59
Conversation
@adklempner what do you think about this approach? |
return ( | ||
"/" + qr.applicationName + "/" + qr.applicationVersion + "/wakunoise/1/sessions_shard-" + qr.shardId + "/proto" | ||
); | ||
return "/" + qr.applicationName + "/" + qr.applicationVersion + "/" + qr.shardId + "/proto"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason behind this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is to align with convention towards contentTopic
as stated in here https://github.com/vacp2p/rfc-index/blob/main/waku/informational/23/topics.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it is not followed - then we won't be able to map it to shards when autosharding is default
Problem
In latest fleet deploy there is no support of default pubsubtopic
Which means now it should be determined based on contentTopic