[Gluster-devel] Events API: Adding support for Client Events

Aravinda avishwan at redhat.com
Tue Aug 2 11:27:06 UTC 2016


Hi,

As many of you aware, Gluster Eventing feature is available in Master. 
To add support to listen to the Events from GlusterFS Clients following 
changes are identified

- Change in Eventsd to listen to tcp socket instead of Unix domain 
socket. This enables Client to send message to Eventsd running in 
Storage node.
- On Client connection, share Port and Token details with Xdata
- Client gf_event will connect to this port and pushes the 
event(Includes Token)
- Eventsd validates Token, publishes events only if Token is valid.


Kaushal, Pranith, Atin Please add if I missed anything.

Ref:
Events API Design: http://review.gluster.org/13115
Events API Intro & Demo: 
http://aravindavk.in/blog/10-mins-intro-to-gluster-eventing/ (CLI name 
changed from "gluster-eventing" to "gluster-eventsapi")

-- 
regards
Aravinda



More information about the Gluster-devel mailing list