Categorygithub.com/elastic/apm-queue/v2
modulepackage
2.10.3
Repository: https://github.com/elastic/apm-queue.git
Documentation: pkg.go.dev

# README

APM Queue

Producing and Consuming library that abstracts the details of producing and consuming records to and from Kafka.

# Packages

No description provided by the author
Package kafka abstracts the production and consumption of records to and from Kafka.
Package metrictest provides helpers for metric testing.
Package queuecontext provides convenient wrappers for storing and accessing a stored metadata.
Package systemtest holds system/integration tests that test the apm-queue/kafka and apm-queue/pubsublite producer and consumer behaviour against real brokers/clusters.

# Constants

AtLeastOnceDeliveryType acknowledges the message after it has been processed.
AtMostOnceDeliveryType acknowledges the message as soon as it's received and decoded, without waiting for the message to be processed.

# Variables

ErrConsumerAlreadyRunning is returned by consumer.Run if it has already been called.

# Structs

Record wraps a record's value with the topic where it's produced / consumed.
TopicConsumer is used to monitor a set of consumer topics.

# Interfaces

Consumer wraps the implementation details of the consumer implementation.
Processor defines record processing signature.
Producer wraps the producer implementation details.

# Type aliases

DeliveryType for the consumer.
ProcessorFunc is a function type that implements the Processor interface.
Topic represents a destination topic where to produce a message/record.