diff --git a/docker/kafka-clusters-only.yaml b/docker/kafka-clusters-only.yaml index 16cb50b659..68116d9499 100644 --- a/docker/kafka-clusters-only.yaml +++ b/docker/kafka-clusters-only.yaml @@ -86,7 +86,25 @@ services: SCHEMA_REGISTRY_LOG4J_ROOT_LOGLEVEL: INFO SCHEMA_REGISTRY_KAFKASTORE_TOPIC: _schemas ports: - - 8081:8081 + - 8085:8085 + + schemaregistry1: + image: confluentinc/cp-schema-registry:5.5.0 + ports: + - 18085:8085 + depends_on: + - zookeeper1 + - kafka1 + environment: + SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: PLAINTEXT://kafka1:29092 + SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: zookeeper1:2181 + SCHEMA_REGISTRY_KAFKASTORE_SECURITY_PROTOCOL: PLAINTEXT + SCHEMA_REGISTRY_HOST_NAME: schemaregistry1 + SCHEMA_REGISTRY_LISTENERS: http://schemaregistry1:8085 + + SCHEMA_REGISTRY_SCHEMA_REGISTRY_INTER_INSTANCE_PROTOCOL: "http" + SCHEMA_REGISTRY_LOG4J_ROOT_LOGLEVEL: INFO + SCHEMA_REGISTRY_KAFKASTORE_TOPIC: _schemas kafka-connect0: image: confluentinc/cp-kafka-connect:5.2.4 diff --git a/docker/kafka-ui.yaml b/docker/kafka-ui.yaml index 8d8790b97e..c384a8f4b3 100644 --- a/docker/kafka-ui.yaml +++ b/docker/kafka-ui.yaml @@ -96,6 +96,24 @@ services: SCHEMA_REGISTRY_LOG4J_ROOT_LOGLEVEL: INFO SCHEMA_REGISTRY_KAFKASTORE_TOPIC: _schemas + schemaregistry1: + image: confluentinc/cp-schema-registry:5.5.0 + ports: + - 18085:8085 + depends_on: + - zookeeper1 + - kafka1 + environment: + SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: PLAINTEXT://kafka1:29092 + SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: zookeeper1:2181 + SCHEMA_REGISTRY_KAFKASTORE_SECURITY_PROTOCOL: PLAINTEXT + SCHEMA_REGISTRY_HOST_NAME: schemaregistry1 + SCHEMA_REGISTRY_LISTENERS: http://schemaregistry1:8085 + + SCHEMA_REGISTRY_SCHEMA_REGISTRY_INTER_INSTANCE_PROTOCOL: "http" + SCHEMA_REGISTRY_LOG4J_ROOT_LOGLEVEL: INFO + SCHEMA_REGISTRY_KAFKASTORE_TOPIC: _schemas + kafka-connect0: image: confluentinc/cp-kafka-connect:5.2.4 ports: diff --git a/kafka-ui-api/src/main/resources/application-local.yml b/kafka-ui-api/src/main/resources/application-local.yml index 951a1799e0..5822849109 100644 --- a/kafka-ui-api/src/main/resources/application-local.yml +++ b/kafka-ui-api/src/main/resources/application-local.yml @@ -13,7 +13,7 @@ kafka: name: secondLocal bootstrapServers: localhost:9093 zookeeper: localhost:2182 - schemaRegistry: http://localhost:8081 + schemaRegistry: http://localhost:18085 kafkaConnect: - name: first address: http://localhost:8083 diff --git a/kafka-ui-api/src/main/resources/application-sdp.yml b/kafka-ui-api/src/main/resources/application-sdp.yml index 9f6a293ec2..46a0377799 100644 --- a/kafka-ui-api/src/main/resources/application-sdp.yml +++ b/kafka-ui-api/src/main/resources/application-sdp.yml @@ -9,7 +9,7 @@ kafka: name: secondLocal zookeeper: zookeeper1:2181 bootstrapServers: kafka1:29092 - schemaRegistry: http://schemaregistry0:8085 + schemaRegistry: http://schemaregistry1:8085 admin-client-timeout: 5000 zookeeper: connection-timeout: 1000