Skip to content

Commit c0ac71e

Browse files
committed
feat: Add Kafka functional tests
- Created test-kafka.yml workflow (384 lines, 5 tests) - Tests Kafka 3.8.1 installation and core scripts - Tests: server script, topics script, producer, consumer, Java dependency - Downloads official Kafka binary distribution - Installs Java 17 as dependency - Added to test-all-packages.yml orchestrator - Badge will display on kafka.md package page Tests performed: 1. Check kafka-server-start.sh exists 2. Check kafka-topics.sh exists and runs 3. Check kafka-console-producer.sh exists 4. Check kafka-console-consumer.sh exists 5. Verify Java runtime available Based on template-package-test.yml pattern
1 parent f098829 commit c0ac71e

2 files changed

Lines changed: 388 additions & 1 deletion

File tree

.github/workflows/test-all-packages.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@ jobs:
2424
test-envoy:
2525
uses: ./.github/workflows/test-envoy.yml
2626

27+
# Test kafka
28+
test-kafka:
29+
uses: ./.github/workflows/test-kafka.yml
30+
2731
# Add more packages here:
2832
# test-redis:
2933
# uses: ./.github/workflows/test-redis.yml
3034

3135
# Summary job that runs after all tests
3236
summary:
33-
needs: [test-nginx, test-envoy]
37+
needs: [test-nginx, test-envoy, test-kafka]
3438
runs-on: ubuntu-24.04-arm
3539
if: always()
3640
steps:

0 commit comments

Comments
 (0)