consumers

package
v0.0.0-...-0549c05 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer struct {
	Broker string
	Group  string
	Topic  string
}

Consumer represents the subscription to a specified Kafka topic

func (*Consumer) NotificationSubscribeAndListen

func (c *Consumer) NotificationSubscribeAndListen() error

NotificationSubscribeAndListen will subscribe to a Kafka topic and start polling and listening for events Adpated from https://github.com/confluentinc/confluent-kafka-go#examples

func (*Consumer) OrderSubscribeAndListen

func (c *Consumer) OrderSubscribeAndListen() error

OrderSubscribeAndListen will subscribe to a Kafka topic and start polling and listening for events Adpated from https://github.com/confluentinc/confluent-kafka-go#examples

func (*Consumer) ShipperSubscribeAndListen

func (c *Consumer) ShipperSubscribeAndListen() error

ShipperSubscribeAndListen will subscribe to a Kafka topic and start polling and listening for events Adpated from https://github.com/confluentinc/confluent-kafka-go#examples

func (*Consumer) WarehouseSubscribeAndListen

func (c *Consumer) WarehouseSubscribeAndListen() error

WarehouseSubscribeAndListen will subscribe to a Kafka topic and start polling and listening for events Adpated from https://github.com/confluentinc/confluent-kafka-go#examples

Jump to

Keyboard shortcuts

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