Documentation ¶
Index ¶
- Constants
- type MessageQueueInitPublisher
- func (mqip *MessageQueueInitPublisher) AddStorageOps(storageOps MessageQueueInitPublisherOperations)
- func (mqip *MessageQueueInitPublisher) CloseMessageQueues() error
- func (mqip *MessageQueueInitPublisher) GetMaxBatchSize() int
- func (mqip *MessageQueueInitPublisher) HandleInitQueueMessages(ctx context.Context) error
- type MessageQueueInitPublisherOperations
- type MessageQueuePublisherOptions
- type MessageQueueUpdatePublisher
Constants ¶
View Source
const ( CompressionCodecNone = "none" CompressionCodecGzip = "gzip" CompressionCodecSnappy = "snappy" CompressionCodecLz4 = "lz4" CompressionCodecZstd = "zstd" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageQueueInitPublisher ¶
type MessageQueueInitPublisher struct {
// contains filtered or unexported fields
}
func NewMessageQueueInitPublisher ¶
func NewMessageQueueInitPublisher( publishOptions *MessageQueuePublisherOptions, dataClient coreclientset.Interface, kubeClient kubernetes.Interface, messageQueueSpec *lifetimesapi.MessageQueueSpec, topic *messagequeue.MessageQueueTopic) ( *MessageQueueInitPublisher, error)
func (*MessageQueueInitPublisher) AddStorageOps ¶
func (mqip *MessageQueueInitPublisher) AddStorageOps( storageOps MessageQueueInitPublisherOperations)
func (*MessageQueueInitPublisher) CloseMessageQueues ¶
func (mqip *MessageQueueInitPublisher) CloseMessageQueues() error
func (*MessageQueueInitPublisher) GetMaxBatchSize ¶
func (mqip *MessageQueueInitPublisher) GetMaxBatchSize() int
func (*MessageQueueInitPublisher) HandleInitQueueMessages ¶
func (mqip *MessageQueueInitPublisher) HandleInitQueueMessages( ctx context.Context) error
type MessageQueuePublisherOptions ¶
type MessageQueuePublisherOptions struct {
CompressionCodec string
}
func NewMessageQueuePublisherOptions ¶
func NewMessageQueuePublisherOptions() *MessageQueuePublisherOptions
func (*MessageQueuePublisherOptions) AddFlags ¶
func (mqpo *MessageQueuePublisherOptions) AddFlags(flagSet *pflag.FlagSet)
type MessageQueueUpdatePublisher ¶
type MessageQueueUpdatePublisher struct {
// contains filtered or unexported fields
}
func NewMessageQueueUpdatePublisher ¶
func NewMessageQueueUpdatePublisher( messageQueueConfig *messagequeue.MessageQueueConfig, topic string, compressionCodecOption string, maxBatchBytes int) ( *MessageQueueUpdatePublisher, error)
func (*MessageQueueUpdatePublisher) CloseMessageQueue ¶
func (mqup *MessageQueueUpdatePublisher) CloseMessageQueue() error
func (*MessageQueueUpdatePublisher) GetMaxBatchSize ¶
func (mqup *MessageQueueUpdatePublisher) GetMaxBatchSize() int
func (*MessageQueueUpdatePublisher) WriteQueueMessages ¶
func (mqup *MessageQueueUpdatePublisher) WriteQueueMessages( messages []kafka.Message) error
Click to show internal directories.
Click to hide internal directories.