Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchSend ¶ added in v1.14.0
func BatchSend(ctx context.Context, client firehoseiface.FirehoseAPI, input firehose.PutRecordBatchInput, maxRetries int) ([]*firehose.Record, error)
BatchSend will break the input up into smaller requests based on the firehose size constraints, then call Send to forward those batches. Returns an error for non-retryable errors, and returns a list of records that are too big to send so the caller can handle those records as desired.
func Send ¶
func Send(ctx context.Context, client firehoseiface.FirehoseAPI, input firehose.PutRecordBatchInput, maxRetries int) error
Send will call PutRecordBatch, retrying individual record failures.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.