Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TopicPrefix is the Kafka Channel topic prefix - (topic name: knative-messaging-kafka.<channel-namespace>.<channel-name>). TopicPrefix = "knative-messaging-kafka" DefaultDeliveryOrder = contract.DeliveryOrder_ORDERED NewChannelIngressServiceName = "kafka-channel-ingress" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
Types ¶
type Reconciler ¶
type Reconciler struct { *base.Reconciler *config.Env Resolver *resolver.URIResolver // 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 // NewKafkaClient creates new sarama Client. It's convenient to add this as Reconciler field so that we can // mock the function used during the reconciliation loop. NewKafkaClient kafka.NewClientFunc // InitOffsetsFunc initialize offsets for a provided set of topics and a provided consumer group id. // It's convenient to add this as Reconciler field so that we can mock the function used during the // reconciliation loop. InitOffsetsFunc kafka.InitOffsetsFunc ConfigMapLister corelisters.ConfigMapLister ServiceLister corelisters.ServiceLister Prober prober.Prober IngressHost string }
func (*Reconciler) FinalizeKind ¶
func (r *Reconciler) FinalizeKind(ctx context.Context, channel *messagingv1beta1.KafkaChannel) reconciler.Event
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, channel *messagingv1beta1.KafkaChannel) reconciler.Event
Click to show internal directories.
Click to hide internal directories.