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

Skip to content

Commit 48d093b

Browse files
committed
minor #54899 adapt GHA config for the Bitnami Docker image for Kafka (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- adapt GHA config for the Bitnami Docker image for Kafka | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 869a7cc adapt GHA config for the Bitnami Docker image for Kafka
2 parents 8cc8267 + 869a7cc commit 48d093b

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/integration-tests.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,18 +105,23 @@ 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 exec kafka /opt/bitnami/kafka/bin/kafka-topics.sh --create --topic test-topic --bootstrap-server kafka:9092
124+
120125
- name: Install system dependencies
121126
run: |
122127
echo "::group::apt-get update"

0 commit comments

Comments
 (0)