Skip to content

Commit

Permalink
DEVX-1672: remove cp-all-in-ones in favor of new GitHub repo (conflue…
Browse files Browse the repository at this point in the history
  • Loading branch information
ybyzek authored Apr 6, 2020
1 parent 55eb2a2 commit 5090b2c
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 637 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,7 @@ The best demo to start with is [cp-demo](https://github.com/confluentinc/cp-demo
As a next step, you may want to build your own custom demo or test environment.
We have several resources that launch just the services in Confluent Platform with no pre-configured connectors, data sources, topics, schemas, etc.
Using these as a foundation, you can then add any connectors or applications.

* [cp-all-in-one](cp-all-in-one/README.md): This Docker Compose file launches all services in Confluent Platform, and runs them in containers in your local host.
* [cp-all-in-one-community](cp-all-in-one-community/README.md): This Docker Compose file launches only the community services in Confluent Platform, and runs them in containers in your local host.
* [cp-all-in-one-cloud](cp-all-in-one-cloud/README.md): Use this with your existing Confluent Cloud instance. This Docker Compose file launches all services in Confluent Platform (except for the Kafka brokers), runs them in containers in your local host, and automatically configures them to connect to Confluent Cloud.
* [Confluent CLI](https://docs.confluent.io/current/cli/index.html?utm_source=github&utm_medium=demo&utm_campaign=ch.examples_type.community_content.top): For local, non-Docker installs of Confluent Platform. Using this CLI, you can launch all services in Confluent Platform with just one command `confluent local start`, and they will all run on your local host.
* [Generate test data](https://www.confluent.io/blog/easy-ways-generate-test-data-kafka?utm_source=github&utm_medium=demo&utm_campaign=ch.examples_type.community_content.top): "Hello, World!" for launching Confluent Platform, plus different ways to generate more interesting test data for your topics

Additional documentation: [Getting Started](https://docs.confluent.io/current/getting-started.html?utm_source=github&utm_medium=demo&utm_campaign=ch.examples_type.community_content.top)
See [confluentinc/cp-all-in-one](https://github.com/confluentinc/cp-all-in-one/) for more information.


# Additional Demos
Expand Down
100 changes: 1 addition & 99 deletions cp-all-in-one-cloud/README.md
Original file line number Diff line number Diff line change
@@ -1,99 +1 @@
![image](../images/confluent-logo-300-2.png)

# Pre-requisites

* Docker version 17.06.1-ce
* Docker Compose version 1.14.0 with Docker Compose file format 2.1
* You must have access to a [Confluent Cloud](https://www.confluent.io/confluent-cloud/?utm_source=github&utm_medium=demo&utm_campaign=ch.examples_type.community_content.cp-all-in-one-cloud) cluster
* Create a local file (e.g. at `$HOME/.confluent/java.config`) with configuration parameters to connect to your [Confluent Cloud](https://www.confluent.io/confluent-cloud/?utm_source=github&utm_medium=demo&utm_campaign=ch.examples_type.community_content.cp-all-in-one-cloud) Kafka cluster. Follow [these detailed instructions](https://github.com/confluentinc/configuration-templates/tree/master/README.md) to properly create this file.

# Setup

Note: Use this in a *non-production* Confluent Cloud instance for development purposes only.

## Step 1

By default, the demo uses Confluent Schema Registry running in a local Docker container. If you prefer to use Confluent Cloud Schema Registry instead, you need to first set it up:

a. [Enable](http://docs.confluent.io/current/quickstart/cloud-quickstart.html#step-3-configure-sr-ccloud?utm_source=github&utm_medium=demo&utm_campaign=ch.examples_type.community_content.cp-all-in-one-cloud) Confluent Cloud Schema Registry prior to running the demo

b. Validate your credentials to Confluent Cloud Schema Registry

```bash
$ curl -u <SR API KEY>:<SR API SECRET> https://<SR ENDPOINT>/subjects
```

## Step 2

Generate a file of ENV variables used by Docker to set the bootstrap servers and security configuration.
(See [documentation](https://docs.confluent.io/current/cloud/connect/auto-generate-configs.html?utm_source=github&utm_medium=demo&utm_campaign=ch.examples_type.community_content.cp-all-in-one-cloud) for more information on using this script.)

a. If you want to use Confluent Schema Registry running in a local Docker container:

```bash
$ ../ccloud/ccloud-generate-cp-configs.sh $HOME/.confluent/java.config schema_registry_docker.config
```

b. If you want to use Confluent Cloud Schema Registry:

```bash
$ ../ccloud/ccloud-generate-cp-configs.sh $HOME/.confluent/java.config
```

## Step 3

Source the generated file of ENV variables

```bash
$ source ./delta_configs/env.delta
```

# Bring up services

Make sure you completed the steps in the Setup section above before proceeding.

You may bring up all services in the Docker Compose file at once or individually.

## All services at once

```bash
$ docker-compose up -d
```

## Confluent Schema Registry

If you are not using Confluent Cloud Schema Registry:

```bash
$ docker-compose up -d schema-registry
```

## Kafka Connect

```bash
$ docker-compose up -d connect
```

## Confluent Control Center

```bash
$ docker-compose up -d control-center
```

## KSQL Server

```bash
$ docker-compose up -d ksqldb-server
```

## KSQL CLI

```bash
$ docker-compose up -d ksql-cli
```

## Confluent REST Proxy

```bash
$ docker-compose up -d rest-proxy
```
This example has moved to https://github.com/confluentinc/cp-all-in-one/
182 changes: 0 additions & 182 deletions cp-all-in-one-cloud/docker-compose.yml

This file was deleted.

3 changes: 0 additions & 3 deletions cp-all-in-one-cloud/schema_registry_docker.config

This file was deleted.

11 changes: 1 addition & 10 deletions cp-all-in-one-community/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
![image](../images/confluent-logo-300-2.png)

# Overview

This [docker-compose.yml](docker-compose.yml) launches only the community services in Confluent Platform and runs them in containers in your local host, enabling you to build your own development environments (see [cp-all-in-one](../cp-all-in-one/docker-compose.yml) for launching all services in Confluent Platform).
For an example of how to use this Docker setup, refer to the [Confluent Platform quickstart](https://docs.confluent.io/current/quickstart/index.html)

# Additional Examples

For additional examples that showcase streaming applications within an event streaming platform, see [these demos](https://github.com/confluentinc/examples).
This example has moved to https://github.com/confluentinc/cp-all-in-one/
Loading

0 comments on commit 5090b2c

Please sign in to comment.