From 771386e3b71485fee3fa227488e5b5d9cf661ad6 Mon Sep 17 00:00:00 2001 From: nchandra Date: Tue, 13 Feb 2024 11:34:42 +0000 Subject: [PATCH] Simple Kafka compose without KSQL --- ...token_or_secret_masked_reuse_example_.json | 2 +- docker/compose/kafka-schema-registry-m3.yml | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 docker/compose/kafka-schema-registry-m3.yml diff --git a/core/src/test/resources/integration_test_files/masked/bearer_token_or_secret_masked_reuse_example_.json b/core/src/test/resources/integration_test_files/masked/bearer_token_or_secret_masked_reuse_example_.json index 0ebdd9d53..1871b434f 100644 --- a/core/src/test/resources/integration_test_files/masked/bearer_token_or_secret_masked_reuse_example_.json +++ b/core/src/test/resources/integration_test_files/masked/bearer_token_or_secret_masked_reuse_example_.json @@ -1,5 +1,5 @@ { - "scenarioName": "Masked Secret path as step param", + "scenarioName": "Masked Secret path as step param - Reusable Secret or Bearer token", "steps": [ { "name": "get_balance_via_secret_token", diff --git a/docker/compose/kafka-schema-registry-m3.yml b/docker/compose/kafka-schema-registry-m3.yml new file mode 100644 index 000000000..c7224d4c3 --- /dev/null +++ b/docker/compose/kafka-schema-registry-m3.yml @@ -0,0 +1,49 @@ +--- +version: '3' +services: + zookeeper: + image: confluentinc/cp-zookeeper:5.5.1 + environment: + ZOOKEEPER_CLIENT_PORT: 2181 + ZOOKEEPER_TICK_TIME: 2000 + + kafka: + image: confluentinc/cp-kafka:5.5.1 + depends_on: + - zookeeper + ports: + - 9092:9092 + environment: + KAFKA_BROKER_ID: 1 + KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 + KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9092 + KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT + KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT + KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 + + schema-registry: + image: confluentinc/cp-schema-registry:5.5.1 + depends_on: + - kafka + - zookeeper + environment: + SCHEMA_REGISTRY_HOST_NAME: schema-registry + SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: zookeeper:2181 + SCHEMA_REGISTRY_LISTENERS: http://0.0.0.0:8081 + ports: + - "8081:8081" + + rest-proxy: + image: confluentinc/cp-kafka-rest:5.5.1 + depends_on: + - zookeeper + - kafka + - schema-registry + environment: + KAFKA_REST_HOST_NAME: rest-proxy + KAFKA_REST_ZOOKEEPER_CONNECT: zookeeper:2181 + KAFKA_REST_BOOTSTRAP_SERVERS: kafka:29092 + KAFKA_REST_LISTENERS: http://0.0.0.0:8082 + KAFKA_REST_SCHEMA_REGISTRY_URL: http://schema-registry:8081 + ports: + - "8082:8082"