-
Notifications
You must be signed in to change notification settings - Fork 597
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add integration test for karapace (#15486)
- Loading branch information
1 parent
ace4c4b
commit 735af89
Showing
11 changed files
with
86 additions
and
60 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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
CREATE TABLE | ||
personnel (id integer, name varchar); | ||
|
||
|
||
CREATE SINK nats_sink | ||
FROM | ||
personnel | ||
WITH | ||
( | ||
connector = 'nats', | ||
server_url = 'nats-server:4222', | ||
subject = 'subject1', | ||
type = 'append-only', | ||
force_append_only = 'true', | ||
connect_mode = 'plain' | ||
); | ||
|
||
|
||
INSERT INTO | ||
personnel | ||
VALUES | ||
(1, 'Alice'), | ||
(2, 'Bob'), | ||
(3, 'Tom'), | ||
(4, 'Jerry'), | ||
(5, 'Araminta'), | ||
(6, 'Clover'), | ||
(7, 'Posey'), | ||
(8, 'Waverly'); | ||
|
||
|
||
FLUSH; |
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 +1 @@ | ||
personnel,nats_source_table,live_stream_metrics | ||
personnel,live_stream_metrics |
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,8 +1,6 @@ | ||
select | ||
SELECT | ||
* | ||
from | ||
nats_source_table | ||
order by | ||
id | ||
FROM | ||
live_stream_metrics | ||
LIMIT | ||
10; |
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 +1 @@ | ||
student_view | ||
student_view,student_karapace |
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