-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix message fragmentation in sse-kafka and flow control in kafka merge #283
Merged
Merged
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0e3367a
Checkpoint
3d57aa3
Checkpoint
ff5fe69
Add spec test
7fe2771
Remove debugging statement
a763b7f
Remove debugging statement
ceaa5ed
Fix typo
6c0ce8d
Applied feedback from PR
7309022
Fix typo
9a3a1ea
Revert back change
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Checkpoint
- Loading branch information
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
40 changes: 40 additions & 0 deletions
40
...illa/specs/binding/sse/kafka/streams/kafka/server.sent.messages.with.null.etag/client.rpt
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,40 @@ | ||
# | ||
# Copyright 2021-2023 Aklivity Inc | ||
# | ||
# Licensed under the Aklivity Community License (the "License"); you may not use | ||
# this file except in compliance with the License. You may obtain a copy of the | ||
# License at | ||
# | ||
# https://www.aklivity.io/aklivity-community-license/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OF ANY KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations under the License. | ||
# | ||
|
||
connect "zilla://streams/kafka0" | ||
option zilla:window 8192 | ||
option zilla:transmission "duplex" | ||
|
||
write zilla:begin.ext ${kafka:beginEx() | ||
.typeId(zilla:id("kafka")) | ||
.merged() | ||
.capabilities("FETCH_ONLY") | ||
.topic("test") | ||
.partition(-1, -2) | ||
.build() | ||
.build()} | ||
|
||
connected | ||
|
||
read zilla:data.ext ${kafka:matchDataEx() | ||
.typeId(zilla:id("kafka")) | ||
.merged() | ||
.partition(0, 1, 2) | ||
.progress(0, 2) | ||
.progress(1, 1) | ||
.key("key") | ||
.build() | ||
.build()} | ||
read "Hello, world" |
46 changes: 46 additions & 0 deletions
46
...illa/specs/binding/sse/kafka/streams/kafka/server.sent.messages.with.null.etag/server.rpt
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,46 @@ | ||
# | ||
# Copyright 2021-2023 Aklivity Inc | ||
# | ||
# Licensed under the Aklivity Community License (the "License"); you may not use | ||
# this file except in compliance with the License. You may obtain a copy of the | ||
# License at | ||
# | ||
# https://www.aklivity.io/aklivity-community-license/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OF ANY KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations under the License. | ||
# | ||
|
||
accept "zilla://streams/kafka0" | ||
option zilla:window 8192 | ||
option zilla:transmission "duplex" | ||
|
||
accepted | ||
|
||
read zilla:begin.ext ${kafka:beginEx() | ||
.typeId(zilla:id("kafka")) | ||
.merged() | ||
.capabilities("FETCH_ONLY") | ||
.topic("test") | ||
.partition(-1, -2) | ||
.build() | ||
.build()} | ||
|
||
connected | ||
|
||
write zilla:data.ext ${kafka:dataEx() | ||
.typeId(zilla:id("kafka")) | ||
.merged() | ||
.timestamp(kafka:timestamp()) | ||
.partition(0, 1, 2) | ||
.progress(0, 2) | ||
.progress(1, 1) | ||
.key("key") | ||
.headersNull() | ||
.build() | ||
.build()} | ||
write "Hello, world" | ||
write flush | ||
|
35 changes: 35 additions & 0 deletions
35
.../zilla/specs/binding/sse/kafka/streams/sse/server.sent.messages.with.null.etag/client.rpt
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,35 @@ | ||
# | ||
# Copyright 2021-2023 Aklivity Inc | ||
# | ||
# Licensed under the Aklivity Community License (the "License"); you may not use | ||
# this file except in compliance with the License. You may obtain a copy of the | ||
# License at | ||
# | ||
# https://www.aklivity.io/aklivity-community-license/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OF ANY KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations under the License. | ||
# | ||
|
||
connect "zilla://streams/sse0" | ||
option zilla:window 8192 | ||
option zilla:transmission "duplex" | ||
|
||
write zilla:begin.ext ${sse:beginEx() | ||
.typeId(zilla:id("sse")) | ||
.scheme("http") | ||
.authority("localhost:8080") | ||
.path("/test") | ||
.lastId(null) | ||
.build()} | ||
|
||
connected | ||
|
||
read zilla:data.ext ${sse:matchDataEx() | ||
.typeId(zilla:id("sse")) | ||
.id(null) | ||
.type(null) | ||
.build()} | ||
read "Hello, world" |
38 changes: 38 additions & 0 deletions
38
.../zilla/specs/binding/sse/kafka/streams/sse/server.sent.messages.with.null.etag/server.rpt
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,38 @@ | ||
# | ||
# Copyright 2021-2023 Aklivity Inc | ||
# | ||
# Licensed under the Aklivity Community License (the "License"); you may not use | ||
# this file except in compliance with the License. You may obtain a copy of the | ||
# License at | ||
# | ||
# https://www.aklivity.io/aklivity-community-license/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OF ANY KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations under the License. | ||
# | ||
|
||
accept "zilla://streams/sse0" | ||
option zilla:window 8192 | ||
option zilla:transmission "duplex" | ||
accepted | ||
|
||
read zilla:begin.ext ${sse:beginEx() | ||
.typeId(zilla:id("sse")) | ||
.scheme("http") | ||
.authority("localhost:8080") | ||
.path("/test") | ||
.lastId(null) | ||
.build()} | ||
|
||
connected | ||
|
||
write flush | ||
|
||
write zilla:data.ext ${sse:dataEx() | ||
.typeId(zilla:id("sse")) | ||
.id("AQQABAIC/revision=42") | ||
.build()} | ||
write "Hello, world" | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this whitespace change.