Documentation ¶
Index ¶
- func StartCacheInvalidator(ctx context.Context, kafkaConf kafka.Config, topics []string, ...) error
- func StartCacheInvalidatorAll(ctx context.Context, kafkaConf kafka.Config, topics []string, ...) error
- func StartCacheInvalidatorDeviceType(ctx context.Context, kafkaConf kafka.Config, deviceTypeTopic string, ...) error
- func StartKnownCacheInvalidators(ctx context.Context, kafkaConf kafka.Config, knownTopics KnownTopics, ...) error
- type Command
- type KnownTopics
- type SignalInfo
- type SignalMapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartCacheInvalidator ¶
func StartCacheInvalidatorDeviceType ¶
func StartCacheInvalidatorDeviceType(ctx context.Context, kafkaConf kafka.Config, deviceTypeTopic string, broker *signal.Broker) error
StartCacheInvalidatorDeviceType is manly an example. most should use StartKnownCacheInvalidators or StartCacheInvalidatorAll
Types ¶
type KnownTopics ¶
type SignalInfo ¶
type SignalMapper ¶
type SignalMapper = func(message kafka.Message) []SignalInfo
func GetCommandSignalMapper ¶
func GetCommandSignalMapper(sig signal.Signal) SignalMapper
func GetKnownSignalMapper ¶
func GetKnownSignalMapper(topics KnownTopics) SignalMapper
Click to show internal directories.
Click to hide internal directories.