From 68ab04a2d7d5d9c367de018060a307b2e54dfd0c Mon Sep 17 00:00:00 2001 From: Gianluca Date: Fri, 22 Mar 2024 17:39:19 +0100 Subject: [PATCH] Improve examples --- examples/quickstart-confluent-cloud/README.md | 4 ++-- examples/quickstart-confluent-cloud/docker-compose.yml | 1 + examples/quickstart-redpanda-selfhosted/README.md | 2 +- examples/quickstart-redpanda-serverless/README.md | 4 ++-- examples/quickstart-redpanda-serverless/docker-compose.yml | 1 + examples/quickstart-schema-registry/README.md | 2 +- examples/quickstart-schema-registry/docker-compose.yml | 1 + examples/quickstart/docker-compose.yml | 1 + 8 files changed, 10 insertions(+), 6 deletions(-) diff --git a/examples/quickstart-confluent-cloud/README.md b/examples/quickstart-confluent-cloud/README.md index cc0d2851..79673670 100644 --- a/examples/quickstart-confluent-cloud/README.md +++ b/examples/quickstart-confluent-cloud/README.md @@ -2,9 +2,9 @@ This folder contains a variant of the [_Quick Start SSL_](../quickstart-ssl/README.md#quick-start-ssl) app configured to use _Confluent Cloud_ as the target Kafka cluster. -The [docker-compose.yml](docker-compose.yml) file has been revised to realize the integration with Confluent Cloud as follows: +The [docker-compose.yml](docker-compose.yml) file has been revised to realize the integration with _Confluent Cloud_ as follows: -- removal of the _broker_ service, because replaced by the remote Kafka cluster. +- removal of the `broker` service, because replaced by the remote Kafka cluster. - _kafka-connector_: - definition of new environment variables to configure remote endpoint, credentials, and topic name in the `adapters.xml` through the _variable-expansion__ feature of Lightstreamer: ```yaml diff --git a/examples/quickstart-confluent-cloud/docker-compose.yml b/examples/quickstart-confluent-cloud/docker-compose.yml index 9021b010..1f4ee232 100644 --- a/examples/quickstart-confluent-cloud/docker-compose.yml +++ b/examples/quickstart-confluent-cloud/docker-compose.yml @@ -1,5 +1,6 @@ --- version: '2' +name: quickstart-kafka-connector-confluent-cloud services: kafka-connector: container_name: kafka-connector diff --git a/examples/quickstart-redpanda-selfhosted/README.md b/examples/quickstart-redpanda-selfhosted/README.md index 61325796..a221dc54 100644 --- a/examples/quickstart-redpanda-selfhosted/README.md +++ b/examples/quickstart-redpanda-selfhosted/README.md @@ -2,7 +2,7 @@ This folder contains a variant of the [_Quick Start_](../../README.md#quick-start-set-up-in-5-minutes) app configured to use _Redpanda_ as the target broker. -The [docker-compose.yml](docker-compose.yml) file has been revised to realize the integration with [Redpanda Self-hosted](https://docs.redpanda.com/current/get-started/quick-start/). +The [docker-compose.yml](docker-compose.yml) file has been revised to realize the integration with [_Redpanda Self-hosted_](https://docs.redpanda.com/current/get-started/quick-start/). In particular, the previous `broker` service has been replaced with the following definition: ```yaml diff --git a/examples/quickstart-redpanda-serverless/README.md b/examples/quickstart-redpanda-serverless/README.md index 29c3f987..ebdc87fe 100644 --- a/examples/quickstart-redpanda-serverless/README.md +++ b/examples/quickstart-redpanda-serverless/README.md @@ -8,9 +8,9 @@ This folder contains a variant of the [_Quick Start SSL_](../quickstart-ssl/READ - allow `All` permissions to the user on the topic - allow `All` permissions to the user on the consumer group `quick-start-group` -The [docker-compose.yml](docker-compose.yml) file has been revised to realize the integration with Redpanda Cloud as follows: +The [docker-compose.yml](docker-compose.yml) file has been revised to realize the integration with _Redpanda Serverless_ as follows: -- removal of the _broker_ service, because replaced by the remote cluster. +- removal of the `broker` service, because replaced by the remote cluster. - _kafka-connector_: - definition of new environment variables to configure remote endpoint, credentials, and topic name in the `adapters.xml` through the _variable-expansion__ feature of Lightstreamer: ```yaml diff --git a/examples/quickstart-redpanda-serverless/docker-compose.yml b/examples/quickstart-redpanda-serverless/docker-compose.yml index b8f9e098..c86965da 100644 --- a/examples/quickstart-redpanda-serverless/docker-compose.yml +++ b/examples/quickstart-redpanda-serverless/docker-compose.yml @@ -1,5 +1,6 @@ --- version: '2' +name: quickstart-kafka-connector-redpanda-serverless services: kafka-connector: container_name: kafka-connector diff --git a/examples/quickstart-schema-registry/README.md b/examples/quickstart-schema-registry/README.md index dba1cada..a9968298 100644 --- a/examples/quickstart-schema-registry/README.md +++ b/examples/quickstart-schema-registry/README.md @@ -4,7 +4,7 @@ This folder contains a variant of the [_Quick Start SSL_](../quickstart-ssl/READ The [docker-compose.yml](docker-compose.yml) file has been revised to configure the integration with [_Confluent Docker Image for Schema Registry_](https://hub.docker.com/r/confluentinc/cp-schema-registry) as follows: -- new _schema-registry_ service, pulled from the mentioned Docker image and configured with security settings +- new `schema-registry` service, pulled from the mentioned Docker image and configured with security settings - _kafka-connector_: adaption of [`adapters.xml`](./adapters.xml) to include: diff --git a/examples/quickstart-schema-registry/docker-compose.yml b/examples/quickstart-schema-registry/docker-compose.yml index 4947344c..30f0b804 100644 --- a/examples/quickstart-schema-registry/docker-compose.yml +++ b/examples/quickstart-schema-registry/docker-compose.yml @@ -1,5 +1,6 @@ --- version: '2' +name: quickstart-kafka-schema-registry services: kafka-connector: container_name: kafka-connector diff --git a/examples/quickstart/docker-compose.yml b/examples/quickstart/docker-compose.yml index d68020a4..50b0f385 100644 --- a/examples/quickstart/docker-compose.yml +++ b/examples/quickstart/docker-compose.yml @@ -1,5 +1,6 @@ --- version: '2' +name: quickstart-kafka-connector services: kafka-connector: container_name: kafka-connector