Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LambdaClient ¶
type LambdaClient interface {
Invoke(input *lambda.InvokeInput) (*lambda.InvokeOutput, error)
}
type LambdaProducer ¶
type LambdaProducer struct {
// contains filtered or unexported fields
}
func NewProducer ¶
func NewProducer(destination *backendconfig.DestinationT, o common.Opts) (*LambdaProducer, error)
NewProducer creates a producer based on destination config
func (*LambdaProducer) Close ¶ added in v1.2.0
func (*LambdaProducer) Close() error
func (*LambdaProducer) Produce ¶
func (producer *LambdaProducer) Produce(jsonData json.RawMessage, destConfig interface{}) (int, string, string)
Produce creates a producer and send data to Lambda.
Click to show internal directories.
Click to hide internal directories.