Add kafka-mesh example demonstrating topic-based routing with mesh filter#1016
Add kafka-mesh example demonstrating topic-based routing with mesh filter#1016Copilot wants to merge 6 commits into
Conversation
Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
|
@copilot fails with
FAILURE DEBUG |
Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
Fixed in b29a8d3. The mesh filter doesn't support INIT_PRODUCER_ID (transactional/idempotent producer), so added |
|
@copilot next |
Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
Fixed in bad4e7a. The mesh filter only supports Produce and Fetch APIs, not consumer group coordination (FIND_COORDINATOR). Added |
|
@copilot still no apples |
Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
Plan for kafka-mesh Example
Summary
Successfully added the kafka-mesh example demonstrating the Kafka mesh filter's routing capabilities. This example is designed to replace existing Envoy Kafka integration tests.
Changes
--request-required-acks 1 --producer-property enable.idempotence=falseto producer commands to disable transactional features--partition 0instead of consumer groups to avoid FIND_COORDINATOR API (not supported by mesh filter)Security Summary
No security vulnerabilities detected.
Original prompt
Summary
Add a new
kafka-meshexample that demonstrates the Kafka mesh filter's ability to route Kafka traffic to different upstream clusters based on topic prefix.This is part of migrating Kafka integration test coverage from
envoyproxy/envoyto the examples repo. See: envoyproxy/envoy#43182What the mesh filter does
Unlike the existing
kafkaexample (broker filter) which passes all traffic to a single upstream with metrics, the mesh filter:Example design
The example should demonstrate routing with two upstream Kafka clusters:
a(e.g.,apples) → cluster1b(e.g.,bananas) → cluster2Files to create
kafka-mesh/example.rst