Documentation ¶
Index ¶
- func DisabledGetClient(_ context.Context, bootstrapServers []string, secret *corev1.Secret) (sarama.Client, error)
- func DisabledGetKafkaClusterAdminFunc(_ context.Context, bootstrapServers []string, secret *corev1.Secret) (sarama.ClusterAdmin, error)
- func WithKafkaClientPool(ctx context.Context) context.Context
- type ClientPool
- type GetKafkaClientFunc
- type GetKafkaClusterAdminFunc
- type KafkaClientKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisabledGetClient ¶ added in v0.41.12
func DisabledGetKafkaClusterAdminFunc ¶ added in v0.41.12
Types ¶
type ClientPool ¶
type ClientPool struct {
// contains filtered or unexported fields
}
func Get ¶
func Get(ctx context.Context) *ClientPool
func (*ClientPool) GetClusterAdmin ¶
func (cp *ClientPool) GetClusterAdmin(ctx context.Context, bootstrapServers []string, secret *corev1.Secret) (sarama.ClusterAdmin, error)
type GetKafkaClientFunc ¶
type KafkaClientKey ¶
type KafkaClientKey struct{}
Click to show internal directories.
Click to hide internal directories.