# File 'lib/fluent/plugin/out_grpc.rb', line 12defstartsuper@stub=Event::Forwarder::Stub.new(@path,:this_channel_is_insecure)end
#write(chunk) ⇒ Object
17
18
19
20
21
22
# File 'lib/fluent/plugin/out_grpc.rb', line 17defwrite(chunk)chunk.eachdo|time,record|ack=@stub.forward(Event::Log.new(name:record['message']))$stdout.putsack.typeendend