subscribeToContentTopic starts a new node with partial ContentTopicInfo (no clusterId) so createLightNode will resolve clusterId to DEFAULT_CLUSTER_ID=1
But Autosharding will be possible on other cluster IDs as well with https://github.com/waku-org/nwaku/issues/2502
Proposed Solutions
Allow clusterId as a parameter in subscribeToContentTopic
This is a change request
Problem
subscribeToContentTopic
starts a new node with partialContentTopicInfo
(noclusterId
) socreateLightNode
will resolveclusterId
toDEFAULT_CLUSTER_ID=1
But Autosharding will be possible on other cluster IDs as well with https://github.com/waku-org/nwaku/issues/2502Proposed Solutions
Allow clusterId as a parameter in subscribeToContentTopic