producer

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package producer contains the domain events needed to support event sourcing of Sink service actions.

Index

Constants

View Source
const (
	AgentPrefix      = "agent."
	AgentCreate      = AgentPrefix + "create"
	AgentGroupPrefix = "agent_group."
	AgentGroupRemove = AgentGroupPrefix + "remove"
)

Variables

This section is empty.

Functions

func NewEventStoreMiddleware

func NewEventStoreMiddleware(svc fleet.Service, client *redis.Client, logger *zap.Logger) fleet.Service

NewEventStoreMiddleware returns wrapper around fleet service that sends events to event store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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