wireformat

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package wireformat deals with how to serialize/deserialize a dispatcher.Message on a Kafka topic. Currently uses a custom encoding scheme for headers, until Kafka 0.11 headers are supported by go client lib

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromKafka

func FromKafka(kafka *sarama.ConsumerMessage) (dispatcher.Message, error)

func ToKafka

func ToKafka(message dispatcher.Message) (*sarama.ProducerMessage, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL