Skip to content

Commit

Permalink
Change stream to duplex
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaidics committed May 27, 2024
1 parent 68d6886 commit c833fb8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

connect "zilla://streams/app0"
option zilla:window 16
option zilla:transmission "half-duplex"
option zilla:transmission "duplex"

write zilla:begin.ext ${kafka:beginEx()
.typeId(zilla:id("kafka"))
Expand All @@ -30,4 +30,13 @@ write zilla:begin.ext ${kafka:beginEx()
.build()
.build()}

read zilla:begin.ext ${kafka:beginEx()
.typeId(zilla:id("kafka"))
.merged()
.capabilities("PRODUCE_AND_FETCH")
.topic("test")
.config("cleanup.policy", "compact")
.build()
.build()}

connected
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ property newTimestamp ${kafka:timestamp() + deltaMillis}

accept "zilla://streams/app0"
option zilla:window 8192
option zilla:transmission "half-duplex"
option zilla:transmission "duplex"

accepted

Expand Down

0 comments on commit c833fb8

Please sign in to comment.