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