# README
Kafka
This repo contains helps for kafka objects.
# Packages
Code generated by counterfeiter.
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
GetRealOffset get offset for newest or oldest.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMessageHandlerBatchMetrics is a MessageHandler adapter that create Prometheus metrics for started, completed and failed.
No description provided by the author
No description provided by the author
NewMessageHandlerBatchTxMetrics is a MessageHandler adapter that create Prometheus metrics for started, completed and failed.
No description provided by the author
No description provided by the author
No description provided by the author
NewMessageHandlerMetrics is a MessageHandler adapter that create Prometheus metrics for started, completed and failed.
No description provided by the author
NewMessageHandlerTxMetrics is a MessageHandler adapter that create Prometheus metrics for started, completed and failed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewOffsetTriggerMessageHandler returns message handler that call the given trigger if all offset are reached.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OffsetFromBytes returns the offset for the given bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseOffset from a string.
ParsePartition from a string.
No description provided by the author
PartitionFromBytes returns the partition for the given bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
counterfeiter:generate -o mocks/kafka-highwatermark-provider.go --fake-name KafkaHighwaterMarkProvider .
counterfeiter:generate -o mocks/kafka-json-sender.go --fake-name KafkaJsonSender .
No description provided by the author
counterfeiter:generate -o mocks/kafka-message-handler.go --fake-name KafkaMessageHandler .
counterfeiter:generate -o mocks/kafka-message-handler-batch.go --fake-name KafkaMessageHandlerBatch .
counterfeiter:generate -o mocks/kafka-message-handler-batch-tx.go --fake-name KafkaMessageHandlerBatchTx .
counterfeiter:generate -o mocks/kafka-message-handler-tx.go --fake-name KafkaMessageHandlerTx .
counterfeiter:generate -o mocks/kafka-metrics.go --fake-name KafkaMetrics .
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
counterfeiter:generate -o mocks/kafka-offset-store.go --fake-name KafkaOffsetStore .
counterfeiter:generate -o mocks/kafka-sarama-client.go --fake-name KafkaSaramaClient .
No description provided by the author
counterfeiter:generate -o mocks/kafka-sarama-sync-producer.go --fake-name KafkaSaramaSyncProducer .
counterfeiter:generate -o mocks/kafka-sync-producer.go --fake-name KafkaSyncProducer .
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MessageHandlerFunc allow use a function as MessageHandler.
MessageHandlerTxFunc allow use a function as MessageHandler.
No description provided by the author
Offset in the Kafka topic.
Partition in Kafka.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author