Documentation ¶
Overview ¶
Package glumelogger provides support for Flume NG in Go
It communicates to a Flume NG agent in Thrift via TFramedTranport with TCompactProtocol thrift bindings are taken from Flume 1.7[1] (however they should be compatible with 1.6, 1.5, 1.4)
[1] https://raw.githubusercontent.com/apache/flume/flume-1.7/flume-ng-sdk/src/main/thrift/flume.thrift
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlumeLogger ¶
type GlumeLogger struct {
// contains filtered or unexported fields
}
GlumeLogger holds thrift client and headers use NewGlumeLogger to create new one
func NewGlumeLogger ¶
func NewGlumeLogger(host string, port int, headers *map[string]string) *GlumeLogger
NewGlumeLogger create a new GlumeLogger client, it requires a host, port and map of headers
Click to show internal directories.
Click to hide internal directories.