Documentation ¶
Index ¶
- Constants
- func ConfigReplaceFromFile(ctx context.Context, strmprov rkcy.StreamProvider, platform string, ...)
- func ConfigReplaceFromJson(ctx context.Context, strmprov rkcy.StreamProvider, platform string, ...) error
- func ConsumeACETopic(ctx context.Context, wg *sync.WaitGroup, strmprov rkcy.StreamProvider, ...)
- func ConsumeConcernAdminTopic(ctx context.Context, wg *sync.WaitGroup, strmprov rkcy.StreamProvider, ...)
- func ConsumeConfigTopic(ctx context.Context, wg *sync.WaitGroup, strmprov rkcy.StreamProvider, ...)
- func ConsumeConsumersTopic(ctx context.Context, wg *sync.WaitGroup, strmprov rkcy.StreamProvider, ...)
- func ConsumeMgmtTopic(ctx context.Context, wg *sync.WaitGroup, strmprov rkcy.StreamProvider, ...)
- func ConsumePlatformTopic(ctx context.Context, wg *sync.WaitGroup, strmprov rkcy.StreamProvider, ...)
- func ConsumeProducersTopic(ctx context.Context, wg *sync.WaitGroup, strmprov rkcy.StreamProvider, ...)
- func FindMostRecentMatching(ctx context.Context, strmprov rkcy.StreamProvider, brokers string, ...) (bool, int64, error)
- func PlatformReplaceFromFile(ctx context.Context, strmprov rkcy.StreamProvider, platform string, ...)
- func PlatformReplaceFromJson(ctx context.Context, strmprov rkcy.StreamProvider, platform string, ...) error
- type ConcernAdminMessage
- type ConfigPublishMessage
- type ConsumerMessage
- type FindResult
- type MatchLoc
- type PlatformMessage
- type ProducerMessage
- type RawMessage
Constants ¶
View Source
const ( CONTINUE FindResult = 0 FOUND = 1 STOP = 2 )
Variables ¶
This section is empty.
Functions ¶
func ConfigReplaceFromFile ¶
func ConfigReplaceFromJson ¶
func ConsumeACETopic ¶
func ConsumeACETopic( ctx context.Context, wg *sync.WaitGroup, strmprov rkcy.StreamProvider, platform string, environment string, adminBrokers string, concern string, aceTopic rkcy.StandardTopicName, match rkcypb.Directive, startMatchLoc MatchLoc, handler func(rawMsg *RawMessage), readyCh chan<- bool, )
consumeACETopic behaves much like consumeMgmtTopic, but is intended to operate upon Admin, Complete, and Error topics belonging to concerns which are always single partition but may contain divergent generational definitions. The platform topic is read as well, and if the ACE topic being consumed changes definitions, consumeACETopic will automatically adjust to the new current topic definition.
func ConsumeConfigTopic ¶
func ConsumeConsumersTopic ¶
func ConsumeMgmtTopic ¶
func ConsumeMgmtTopic( ctx context.Context, wg *sync.WaitGroup, strmprov rkcy.StreamProvider, adminBrokers string, fullTopic string, match rkcypb.Directive, startMatchLoc MatchLoc, handler func(rawMsg *RawMessage), readyCh chan<- bool, )
consumeMgmtTopic is intended for single paritition topics used in the management of the system. Examples include platform, consumers, producers, and config topics.
func ConsumePlatformTopic ¶
func ConsumeProducersTopic ¶
func FindMostRecentMatching ¶
func PlatformReplaceFromFile ¶
Types ¶
type ConcernAdminMessage ¶
type ConfigPublishMessage ¶
type ConsumerMessage ¶
type FindResult ¶
type FindResult int
type PlatformMessage ¶
type PlatformMessage struct { Directive rkcypb.Directive Timestamp time.Time Offset int64 NewRtPlatDef *rkcy.RtPlatformDef OldRtPlatDef *rkcy.RtPlatformDef }
type ProducerMessage ¶
Click to show internal directories.
Click to hide internal directories.