forked from linkedin/Hoptimator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add simple MySQL CDC integration test (linkedin#9)
* Add simple MySQL CDC integration test * Increase integration test timeout * Log cluste state in integration tests * Reduce Flink cpu requests
- Loading branch information
1 parent
e6d0b46
commit 7c8e313
Showing
6 changed files
with
41 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/sh | ||
|
||
kubectl exec -it hoptimator -c hoptimator -- ./hoptimator -n "" -p "" -u "jdbc:calcite:model=/etc/config/model.yaml" "$@" | ||
kubectl exec -it hoptimator -c hoptimator -- ./hoptimator --isolation=TRANSACTION_NONE -n "" -p "" -u "jdbc:calcite:model=/etc/config/model.yaml" -nn hoptimator "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
|
||
!connect "jdbc:calcite:model=./model.yaml" "" "" | ||
|
||
!set maxWidth 80 | ||
!table | ||
!schemas | ||
|
||
-- built-in bounded tables | ||
SELECT * FROM DATAGEN.PERSON; | ||
SELECT * FROM DATAGEN.COMPANY; | ||
|
||
-- MySQL CDC tables | ||
SELECT * FROM INVENTORY."products_on_hand" LIMIT 1; | ||
|
||
-- MySQL CDC -> Kafka | ||
SELECT * FROM RAWKAFKA."products" LIMIT 1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
|
||
!connect "jdbc:calcite:model=./model.yaml" "" "" | ||
|
||
!set maxWidth 80 | ||
!table | ||
!schemas | ||
!connect "jdbc:calcite:model=/etc/config/model.yaml" "" "" | ||
|
||
SELECT * FROM DATAGEN.PERSON; | ||
SELECT * FROM DATAGEN.COMPANY; | ||
|
||
SELECT * FROM INVENTORY."products_on_hand" LIMIT 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters