I'm a new user of Apache Thrift trying to solidify my understanding of how to use Thrift properly.
I understand the Thrift is used to abstract application functions and generates boilerplate code in a multitude of languages for a server and client, and I know that all I as the user need to do is to implement a handler to perform some sort of function, but the specifics confuse me.
Specifically, I am trying to use Thrift to generate a server for Facebook's Scribe in Golang that would listen for data and perform some function on that data as soon as it receives it. In this case, it seems that I don't even need a client to call, as I want the server to act every time data is received.
I am following this server as an example, as it seems to be an open sourced version of what I am interested in: https://github.com/mindreframer/golang-stuff/blob/master/github.com/tumblr/gocircuit/src/tumblr/scribe/server.go
Can anyone tell me if this fits my use case? If so, do I just have to implement the handler and perform my action in the log messages function? If this is the case, can someone point me to where that log messages function is actually called? I'm having trouble understanding the Thrift workflow. Thanks!