Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/table-topic-playground-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Table Topic Playground Tests

on:
push:
branches:
- main
paths:
- 'table-topic-solutions/playground/**'
pull_request:
paths:
- 'table-topic-solutions/playground/**'

jobs:
test-playground:
name: 'Test Table Topic Playground'
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Just
uses: extractions/setup-just@v2

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-

- name: Run all scenario tests
working-directory: table-topic-solutions/playground
run: just test-all

- name: Cleanup
if: always()
working-directory: table-topic-solutions/playground
run: just down || true
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ services:
# Three nodes for AutoMQ cluster
server1:
container_name: "automq-server1"
image: docker.io/automqinc/automq:1.6.0-rc0-bitnami
image: docker.io/automqinc/automq:1.6.0-bitnami
ports:
- "9092"
volumes:
Expand Down Expand Up @@ -91,7 +91,7 @@ services:
# Three nodes for AutoMQ cluster
server2:
container_name: "automq-server2"
image: docker.io/automqinc/automq:1.6.0-rc0-bitnami
image: docker.io/automqinc/automq:1.6.0-bitnami
ports:
- "9092"
volumes:
Expand Down Expand Up @@ -121,7 +121,7 @@ services:
# Three nodes for AutoMQ cluster
server3:
container_name: "automq-server3"
image: docker.io/automqinc/automq:1.6.0-rc0-bitnami
image: docker.io/automqinc/automq:1.6.0-bitnami
ports:
- "9092"
volumes:
Expand Down
6 changes: 3 additions & 3 deletions opensource-setup/docker-compose/docker-compose-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ services:
# Three nodes for AutoMQ cluster
server1:
container_name: "automq-server1"
image: automqinc/automq:1.6.0-rc0
image: automqinc/automq:1.6.0
stop_grace_period: 1m
environment:
<<: *common-env
Expand All @@ -94,7 +94,7 @@ services:

server2:
container_name: "automq-server2"
image: automqinc/automq:1.6.0-rc0
image: automqinc/automq:1.6.0
stop_grace_period: 1m
environment:
<<: *common-env
Expand All @@ -120,7 +120,7 @@ services:

server3:
container_name: "automq-server3"
image: automqinc/automq:1.6.0-rc0
image: automqinc/automq:1.6.0
stop_grace_period: 1m
environment:
<<: *common-env
Expand Down
2 changes: 1 addition & 1 deletion opensource-setup/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ services:
# Single node with combined controller and broker roles
server1:
container_name: "automq-server1"
image: automqinc/automq:1.6.0-rc0
image: automqinc/automq:1.6.0
stop_grace_period: 1m
environment:
- KAFKA_S3_ACCESS_KEY=minioadmin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ services:
# Three nodes for AutoMQ cluster
server1:
container_name: "automq-server1"
image: docker.io/automqinc/automq:1.6.0-rc0-kafka
image: docker.io/automqinc/automq:1.6.0-kafka
stop_grace_period: 1m
environment:
- AWS_ACCESS_KEY_ID=minioadmin
Expand Down Expand Up @@ -91,7 +91,7 @@ services:

server2:
container_name: "automq-server2"
image: docker.io/automqinc/automq:1.6.0-rc0-kafka
image: docker.io/automqinc/automq:1.6.0-kafka
stop_grace_period: 1m
environment:
- AWS_ACCESS_KEY_ID=minioadmin
Expand Down Expand Up @@ -120,7 +120,7 @@ services:

server3:
container_name: "automq-server3"
image: docker.io/automqinc/automq:1.6.0-rc0-kafka
image: docker.io/automqinc/automq:1.6.0-kafka
stop_grace_period: 1m
environment:
- AWS_ACCESS_KEY_ID=minioadmin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ services:
# Single node with combined controller and broker roles
server1:
container_name: "automq-server1"
image: docker.io/automqinc/automq:1.6.0-rc0-kafka
image: docker.io/automqinc/automq:1.6.0-kafka
stop_grace_period: 1m
environment:
- AWS_ACCESS_KEY_ID=minioadmin
Expand Down
2 changes: 1 addition & 1 deletion opensource-setup/kubernetes/bitnami/demo-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ extraEnvVars:
image:
registry: automqinc
repository: automq
tag: 1.6.0-rc0-bitnami
tag: 1.6.0-bitnami
pullPolicy: Always
controller:
replicaCount: 3
Expand Down
2 changes: 1 addition & 1 deletion opensource-setup/kubernetes/bitnami/lb/demo-lb-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ global:
image:
registry: automqinc
repository: automq
tag: 1.6.0-rc0-bitnami
tag: 1.6.0-bitnami
pullPolicy: Always
controller:
replicaCount: 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ global:
image:
registry: automqinc
repository: automq
tag: 1.6.0-rc0-bitnami
tag: 1.6.0-bitnami
pullPolicy: Always
controller:
replicaCount: 3
Expand Down
2 changes: 1 addition & 1 deletion opensource-setup/kubernetes/bitnami/tls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ To verify the mTLS setup, we will launch a client pod, generate client certifica
1. **Launch a Client Pod**:
Create a simple pod with Kafka tools installed.
```bash
kubectl run kafka-client --image=automqinc/automq:1.6.0-rc0-bitnami -n automq --restart='Never' --command -- sleep infinity
kubectl run kafka-client --image=automqinc/automq:1.6.0-bitnami -n automq --restart='Never' --command -- sleep infinity
```

2. **Generate Client Certificates**:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ global:
image:
registry: automqinc
repository: automq
tag: 1.6.0-rc0-bitnami
tag: 1.6.0-bitnami
pullPolicy: Always
# mTLS enabled (sslClientAuth: required)
listeners:
Expand Down
2 changes: 1 addition & 1 deletion opensource-setup/kubernetes/strimzi/strimzi-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ env:
extraEnvs:
- name: STRIMZI_KAFKA_IMAGES
value: |
3.9.0=automqinc/automq:1.6.0-rc0-strimzi
3.9.0=automqinc/automq:1.6.0-strimzi
3.9.1=quay.io/strimzi/kafka:0.47.0-kafka-3.9.1
4.0.0=quay.io/strimzi/kafka:0.47.0-kafka-4.0.0
2 changes: 1 addition & 1 deletion table-topic-solutions/playground/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
automq:
image: automqinc/automq:1.6.0-rc1
image: automqinc/automq:1.6.0
container_name: automq
hostname: automq
stop_grace_period: 1m
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM confluentinc/cp-schema-registry:latest
FROM confluentinc/cp-schema-registry:8.1.0

USER root

# Install Maven, C++ build tools, and grpcio-tools
RUN yum update -y && yum install -y \
RUN microdnf update -y && microdnf install -y \
maven \
gcc-c++ \
python3-pip
java-17-openjdk-headless \
python3-devel \
&& microdnf clean all

RUN pip3 install --user grpcio-tools

Expand Down
Loading