Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProducer ¶
func NewProducer(maxRetries int, streams map[string]string, overrideHost string, prometheusEnabled bool, metricsCollector metrics.MetricCollector, airbrakeHandler *airbrake.Handler, ackChan chan (*telemetry.Record), reliableAckTxTypes map[string]interface{}, logger *logrus.Logger) (telemetry.Producer, error)
NewProducer configures and tests the kinesis connection
Types ¶
type Metrics ¶ added in v0.0.6
type Metrics struct {
// contains filtered or unexported fields
}
Metrics stores metrics reported from this package
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
Producer client to handle kinesis interactions
func (*Producer) ProcessReliableAck ¶ added in v0.3.0
ProcessReliableAck sends to ackChan if reliable ack is configured
Click to show internal directories.
Click to hide internal directories.