Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ybyzek/cp-all-in-one-action
GitHub Action for cp-all-in-one for Confluent Platform and Apache Kafka
https://github.com/ybyzek/cp-all-in-one-action
apache-kafka confluent-platform docker-compose
Last synced: about 1 month ago
JSON representation
GitHub Action for cp-all-in-one for Confluent Platform and Apache Kafka
- Host: GitHub
- URL: https://github.com/ybyzek/cp-all-in-one-action
- Owner: ybyzek
- Created: 2022-06-07T16:45:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-21T01:51:30.000Z (over 2 years ago)
- Last Synced: 2024-03-15T10:05:48.655Z (8 months ago)
- Topics: apache-kafka, confluent-platform, docker-compose
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cp-all-in-one-action
This action runs [cp-all-in-one](https://github.com/confluentinc/cp-all-in-one/tree/latest/cp-all-in-one), a Docker Compose for Confluent Platform. See [Confluent documentation](https://docs.confluent.io/platform/current/tutorials/build-your-own-demos.html) for details.
# Usage
- `service`: up to which service in the docker-compose.yml file to run. Default is none, so all services are run
- `github-branch-version`: which GitHub branch of [cp-all-in-one](https://github.com/confluentinc/cp-all-in-one) to run. Default is `latest`.
- `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`:
```yaml
steps:
- name: Run Confluent Platform (Confluent Server)
uses: ybyzek/[email protected]
with:
service: broker
github-branch-version: 7.1.0-post
```Example to run all Apache Kafka services on `latest`:
```yaml
steps:
- name: Run Confluent Platform (Confluent Server)
uses: ybyzek/[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# Example
Example usage at https://github.com/ybyzek/kafka-github-actions