kafkav3

package
v1.33.0-20240426201503... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_contrib_envoy_extensions_filters_network_generic_proxy_codecs_kafka_v3_kafka_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type KafkaCodecConfig

type KafkaCodecConfig struct {
	// contains filtered or unexported fields
}

Configuration for Kafka codec. This codec gives the generic proxy the ability to proxy Kafka traffic. But note any route configuration for Kafka traffic is not supported yet. The generic proxy can only used to generate logs or metrics for Kafka traffic but cannot do matching or routing.

.. note::

The codec can currently only be used in the sidecar mode. And to ensure the codec works
properly, please make sure the following conditions are met:

1. The generic proxy must be configured with a wildcard route that matches all traffic.
2. The target cluster must be configured as a original destination cluster.
3. The :ref:`bind_upstream_connection
   <envoy_v3_api_field_extensions.filters.network.generic_proxy.router.v3.Router.bind_upstream_connection>`
   of generic proxy router must be set to true to ensure same upstream connection is used
   for all traffic from same downstream connection.

func (*KafkaCodecConfig) Descriptor deprecated

func (*KafkaCodecConfig) Descriptor() ([]byte, []int)

Deprecated: Use KafkaCodecConfig.ProtoReflect.Descriptor instead.

func (*KafkaCodecConfig) ProtoMessage

func (*KafkaCodecConfig) ProtoMessage()

func (*KafkaCodecConfig) ProtoReflect

func (x *KafkaCodecConfig) ProtoReflect() protoreflect.Message

func (*KafkaCodecConfig) Reset

func (x *KafkaCodecConfig) Reset()

func (*KafkaCodecConfig) String

func (x *KafkaCodecConfig) String() string

Jump to

Keyboard shortcuts

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