Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KinesisClient ¶ added in v1.0.2
type KinesisClient interface {
PutRecord(input *kinesis.PutRecordInput) (*kinesis.PutRecordOutput, error)
}
type KinesisProducer ¶ added in v1.0.2
type KinesisProducer struct {
// contains filtered or unexported fields
}
func NewProducer ¶ added in v0.1.10
func NewProducer(destination *backendconfig.DestinationT, o common.Opts) (*KinesisProducer, error)
NewProducer creates a producer based on destination config
func (*KinesisProducer) Close ¶ added in v1.2.0
func (*KinesisProducer) Close() error
func (*KinesisProducer) Produce ¶ added in v1.0.2
func (producer *KinesisProducer) Produce(jsonData json.RawMessage, destConfig interface{}) (int, string, string)
Produce creates a producer and send data to Kinesis.
Click to show internal directories.
Click to hide internal directories.