Skip to content

Commit 407b256

Browse files
authored
Drop second flink job (#45)
1 parent f322dac commit 407b256

File tree

5 files changed

+9
-16
lines changed

5 files changed

+9
-16
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
uses: helm/[email protected]
2828
with:
2929
cluster_name: 'kind'
30+
config: './etc/cluster.yaml'
3031
- name: Load Docker Images
3132
run: |
3233
kind load docker-image hoptimator

deploy/samples/subscriptions.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,4 @@ spec:
77
sql: SELECT "quantity", "product_id" AS KEY FROM INVENTORY."products_on_hand"
88
database: RAWKAFKA
99

10-
---
11-
12-
apiVersion: hoptimator.linkedin.com/v1alpha1
13-
kind: Subscription
14-
metadata:
15-
name: products-with-hints
16-
spec:
17-
sql: SELECT "quantity", "product_id" AS KEY FROM INVENTORY."products_on_hand"
18-
database: RAWKAFKA
19-
hints:
20-
kafka.numPartitions: "7"
2110

etc/cluster.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: Cluster
2+
apiVersion: kind.x-k8s.io/v1alpha4
3+
# Additional worker nodes will not add any real resource capacity. However,
4+
# it should mean that there are more CPU reservations to hand out.
5+
nodes:
6+
- role: control-plane

etc/integration-tests.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ SELECT * FROM INVENTORY."products_on_hand" LIMIT 1;
1616
-- MySQL CDC -> Kafka
1717
SELECT * FROM RAWKAFKA."products" LIMIT 1;
1818

19-
-- Same, but with hints:
20-
SELECT * FROM RAWKAFKA."products-with-hints" LIMIT 1;
21-
2219
-- test insert into command
2320
!insert into RAWKAFKA."test-sink" SELECT AGE AS PAYLOAD, NAME AS KEY FROM DATAGEN.PERSON
2421
SELECT * FROM RAWKAFKA."test-sink" LIMIT 5;

hoptimator-flink-adapter/src/main/resources/SqlJob.yaml.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ spec:
1313
jobManager:
1414
resource:
1515
memory: "2048m"
16-
cpu: .1
16+
cpu: 0.1
1717
taskManager:
1818
resource:
1919
memory: "2048m"
20-
cpu: .1
20+
cpu: 0.1
2121
job:
2222
entryClass: com.linkedin.hoptimator.flink.runner.FlinkRunner
2323
args:

0 commit comments

Comments
 (0)