Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultNumPartitions = 20 DefaultReplicationFactor = 5 )
View Source
const (
// TopicPrefix is the Kafka Broker topic prefix - (topic name: knative-broker-<broker-namespace>-<broker-name>).
TopicPrefix = "knative-broker-"
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func ValidateDefaultBackoffDelayMs ¶ added in v0.19.0
Types ¶
type Reconciler ¶
type Reconciler struct { *base.Reconciler *config.Env Resolver *resolver.URIResolver ConfigMapLister corelisters.ConfigMapLister // NewKafkaClusterAdminClient creates new sarama ClusterAdmin. It's convenient to add this as Reconciler field so that we can // mock the function used during the reconciliation loop. NewKafkaClusterAdminClient kafka.NewClusterAdminClientFunc BootstrapServers string Prober prober.Prober IngressHost string }
func (*Reconciler) FinalizeKind ¶
func (r *Reconciler) FinalizeKind(ctx context.Context, broker *eventing.Broker) reconciler.Event
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, broker *eventing.Broker) reconciler.Event
Click to show internal directories.
Click to hide internal directories.