cp-all-in-one
This repo runs cp-all-in-one, a Docker Compose for Confluent Platform.
Standalone Usage
See Confluent documentation for details.
Usage as a GitHub Action
service
: up to which service in the docker-compose.yml file to run. Default is none, so all services are rungithub-branch-version
: which GitHub branch of cp-all-in-one to run. Default islatest
.type
: cp-all-in-one (based on Confluent Server) or cp-all-in-one-community (based on Apache Kafka)
Example to run ZooKeeper and Confluent Server on Confluent Platform 7.1.0
:
steps:
- name: Run Confluent Platform (Confluent Server)
uses: confluentinc/[email protected]
with:
service: broker
github-branch-version: 7.1.1-post
Example to run all Apache Kafka services on latest
:
steps:
- name: Run Confluent Platform (Confluent Server)
uses: confluentinc/[email protected]
type: cp-all-in-one-community
Ports
To connect to services in Docker, refer to the following ports:
- ZooKeeper: 2181
- Kafka broker: 9092
- Kafka broker JMX: 9101
- Confluent Schema Registry: 8081
- Kafka Connect: 8083
- Confluent Control Center: 9021
- ksqlDB: 8088
- Confluent REST Proxy: 8082