Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EventConsumerType = eventConsumerTypes{
JSON: "json",
AVRO: "avro",
}
View Source
var EventProducerType = eventProducerTypes{
JSON: "json",
AVRO: "avro",
}
Functions ¶
func NewEventConsumer ¶
func NewEventConsumer(options ConsumerOptions) (base.EventConsumer, error)
func NewEventProducer ¶
func NewEventProducer(options ProducerOptions) (base.EventProducer, error)
Types ¶
type ConsumerOptions ¶
type ConsumerOptions struct { BootstrapServers string ConsumerGroupId string ClusterUsername string ClusterPassword string EventConsumerType string Logger logger.Logger SchemaRegistryURL string SchemaRegistryUsername string SchemaRegistryPassword string StatsDHost string StatsDPort string StatsDPrefix string }
type ProducerOptions ¶
Click to show internal directories.
Click to hide internal directories.