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

Epidemic peer should be able to send payload to another peer #6

Closed
poonai opened this issue Feb 26, 2020 · 1 comment
Closed

Epidemic peer should be able to send payload to another peer #6

poonai opened this issue Feb 26, 2020 · 1 comment

Comments

@poonai
Copy link
Member

poonai commented Feb 26, 2020

Is your feature request related to a problem? Please describe.
Right now, the peer knows only how many peers are alive and dead. But, there is no way to get details of the peer. So, we should support a way to send a message to the peer.

My use-case:
My peer listening on two ports. One is by the epidemic and another one is grpc server. All my application logic is on the grpc server. So, I need a way to communicate with my peers to get the information that I want.

How this feature helps me?

As soon I get an alive event, I'll ask for the required details which I want. Then the receiver peer will respond to my question.

Describe the solution you'd like
I need cluster.send_payload method which takes destination peer id and payload as a parameter and sends the payload to the destination peer.

@vertexclique
Copy link
Member

vertexclique commented Feb 28, 2020

Closed by #8

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

2 participants