startup_events

package
v2.3.22 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventOptions

type EventOptions struct {
	ConfluentURL string `` /* 139-byte string literal not displayed */

	Async struct {
		Kafka struct {
			Addr        string                 `long:"event-sender-kafka-addr" default:"kafka.shared.svc.cluster.local:9093" description:"Kafka bootstrap hosts"`
			DisableTLS  bool                   `long:"event-sender-kafka-disable-tls" description:"Disable TLS, might simplify local testing"`
			Replication int16                  `long:"event-sender-kafka-replication-factor" default:"3" description:"Replication factor to use when creating kafka topics"`
			Properties  map[string]interface{} `` /* 198-byte string literal not displayed */
		}

		BufferSize uint `` /* 171-byte string literal not displayed */
	}

	WriteToFile string `long:"event-sender-file" description:"File to write all events to. Sender will be encoded as json"`

	Inputs struct {
		// A function to create the event topics. This option must be specified.
		Topics events.TopicsFunc `validate:"required"`
	}
	// contains filtered or unexported fields
}

func (*EventOptions) EventSender

func (opts *EventOptions) EventSender(clientId string) events.EventSender

Jump to

Keyboard shortcuts

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