From 8f7a6b4c017a635ff171ab461af87410b58030b7 Mon Sep 17 00:00:00 2001 From: paulobressan Date: Thu, 27 Jun 2024 11:07:25 -0300 Subject: [PATCH] feat(github): adjusted kafka services --- .github/workflows/integration.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 5acbf96..5a0016d 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -13,18 +13,16 @@ jobs: services: zookeeper: image: confluentinc/cp-zookeeper:latest - environment: - ZOOKEEPER_CLIENT_PORT: 2181 + options: >- + --env ZOOKEEPER_CLIENT_PORT=2181 kafka: image: confluentinc/cp-kafka:latest - depends_on: - - zookeeper ports: - 9092:9092 - environment: - KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 - KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9092 + options: >- + --env KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181 + --env KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9092 runs-on: ubuntu-latest defaults: