Documentation ¶
Index ¶
Constants ¶
View Source
const IncidentTopic = "incidents"
Variables ¶
View Source
var DefaultCorrelation = &CorrelationImpl{}
Functions ¶
This section is empty.
Types ¶
type Correlation ¶
type Correlation interface { Get(id string) (messages.ProtocolMsg, error) Set(id string, element messages.ProtocolMsg) error }
type CorrelationImpl ¶
type CorrelationImpl struct {
// contains filtered or unexported fields
}
func (*CorrelationImpl) Get ¶
func (this *CorrelationImpl) Get(id string) (messages.ProtocolMsg, error)
func (*CorrelationImpl) Set ¶
func (this *CorrelationImpl) Set(id string, element messages.ProtocolMsg) error
type Factory ¶
type Factory struct { Config configuration.Config Correlation Correlation IdProvider func() string }
func (Factory) NewConsumer ¶
func (Factory) NewProducer ¶
type Incidents ¶
type Incidents interface {
Handle(command messages.KafkaIncidentsCommand) error
}
Click to show internal directories.
Click to hide internal directories.