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

Publishers should be able to send mutliple topics from the same endpoint. #21

Open
RoboDoig opened this issue Jul 24, 2023 · 0 comments

Comments

@RoboDoig
Copy link
Collaborator

Currently, a publisher socket defines its endpoint and topic in properties that are set on creation. This means that publishers are unable to stream several topics from the same endpoint as creating a 2nd publisher with the same endpoint and different topic will throw an 'address already in use' exception.

The intended behavior of a Publisher is to be able to stream multiple topics from the same endpoint, so Publishers should instead accept streams of e.g. Tuple<string, byte[]> (topic, payload)

Alternatively, create a transform node with a topic as a property that transforms a data stream to this Tuple or a 'PublisherMessage' class which is accepted by Publishers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant