Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9900dc9

Browse files
committed
adapt container config for the Bitnami Docker image for Kafka
1 parent 8cc8267 commit 9900dc9

File tree

8 files changed

+16
-642
lines changed

8 files changed

+16
-642
lines changed

.appveyor.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/workflows/integration-tests.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
strategy:
2525
matrix:
26-
php: ['7.2', '8.0']
26+
php: ['8.0']
2727
fail-fast: false
2828

2929
services:
@@ -105,18 +105,24 @@ jobs:
105105
ports:
106106
- 9092:9092
107107
env:
108-
KAFKA_AUTO_CREATE_TOPICS_ENABLE: false
109-
KAFKA_CREATE_TOPICS: 'test-topic:1:1:compact'
110-
KAFKA_ADVERTISED_HOST_NAME: 127.0.0.1
111-
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'
112-
KAFKA_ADVERTISED_PORT: 9092
108+
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: false
109+
ALLOW_PLAINTEXT_LISTENER: 'yes'
110+
KAFKA_CFG_ADVERTISED_LISTENERS: 'PLAINTEXT://127.0.0.1:9092'
111+
KAFKA_CFG_LISTENERS: 'PLAINTEXT://:9092'
112+
KAFKA_CFG_ZOOKEEPER_CONNECT: 'zookeeper:2181'
113+
options: --name=kafka
113114

114115
steps:
115116
- name: Checkout
116117
uses: actions/checkout@v4
117118
with:
118119
fetch-depth: 0
119120

121+
- name: Init Kafka topics
122+
run: |
123+
docker ps
124+
docker exec kafka /opt/bitnami/kafka/bin/kafka-topics.sh --create --topic test-topic --bootstrap-server kafka:9092
125+
120126
- name: Install system dependencies
121127
run: |
122128
echo "::group::apt-get update"

.github/workflows/intl-data-tests.yml

Lines changed: 0 additions & 81 deletions
This file was deleted.

.github/workflows/package-tests.yml

Lines changed: 0 additions & 150 deletions
This file was deleted.

.github/workflows/phpunit-bridge.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)