AWS::KCL::Driver
Inherits Reference < Object
Entry point for a KCL application in Crystal.
Implementers of KCL applications in Crystal should instantiate this class and invoke the {#run} method to start processing records.
Constructors
new(record_processor : RecordProcessor, input : IO = STDIN, output : IO = STDOUT, error : IO = STDERR)
@param processor [RecordProcessor] A record processor
to use for processing a shard.
@param input [IO] An IO-like object to read input lines from.
@param output [IO] An IO-like object to write output lines to.
@param error [IO] An IO-like object to write error lines to.