Example #1
0
func rawKafkaAdapter(route *router.Route) (router.LogAdapter, error) {
	route.Adapter = "kafkaraw+tcp"
	return kafkaraw.NewKafkaRawAdapter(route)
}
Example #2
0
File: tcp.go Project: k2nr/logspout
func rawTCPAdapter(route *router.Route) (router.LogAdapter, error) {
	route.Adapter = "raw+tcp"
	return raw.NewRawAdapter(route)
}
Example #3
0
func rawUnixAdapter(route *router.Route) (router.LogAdapter, error) {
	route.Adapter = "raw+unix"
	return raw.NewRawAdapter(route)
}