Skip to content

Commit 14c4c1a

Browse files
committed
feat(server,sdk): add reserved u64 to iggy message header
1 parent 4d31047 commit 14c4c1a

File tree

53 files changed

+539
-607
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+539
-607
lines changed

.github/workflows/_test_examples.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
uses: ./.github/actions/utils/setup-rust-with-cache
4949
with:
5050
cache-targets: false # Only cache registry and git deps, not target dir (sccache handles that)
51-
save-cache: "false" # Only builds server+examples, let Rust test job save comprehensive cache
51+
save-cache: "false" # Only builds server+examples, let Rust test job save comprehensive cache
5252

5353
- name: Setup Node with cache for examples
5454
if: inputs.component == 'examples-suite'
@@ -152,6 +152,15 @@ jobs:
152152
if: inputs.component == 'examples-suite' && inputs.task == 'examples-node'
153153
run: |
154154
echo "Running Node.js examples tests..."
155+
# Build the local Node SDK first (examples use file: link to it)
156+
cd foreign/node
157+
npm ci
158+
npm run build
159+
cd ../..
160+
# Install examples dependencies (will use the local SDK)
161+
cd examples/node
162+
npm ci
163+
cd ../..
155164
./scripts/run-node-examples-from-readme.sh
156165
157166
- name: Run Java examples

Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ humantime = "2.3.0"
160160
hwlocality = "1.0.0-alpha.11"
161161
iceberg = "0.8.0"
162162
iceberg-catalog-rest = "0.8.0"
163-
iggy = { path = "core/sdk", version = "0.8.2-edge.2" }
164-
iggy_binary_protocol = { path = "core/binary_protocol", version = "0.8.2-edge.2" }
165-
iggy_common = { path = "core/common", version = "0.8.2-edge.2" }
166-
iggy_connector_sdk = { path = "core/connectors/sdk", version = "0.1.2-edge.1" }
163+
iggy = { path = "core/sdk", version = "0.8.3-edge.1" }
164+
iggy_binary_protocol = { path = "core/binary_protocol", version = "0.8.3-edge.1" }
165+
iggy_common = { path = "core/common", version = "0.8.3-edge.1" }
166+
iggy_connector_sdk = { path = "core/connectors/sdk", version = "0.1.3-edge.1" }
167167
integration = { path = "core/integration" }
168168
journal = { path = "core/journal" }
169169
js-sys = "0.3"

DEPENDENCIES.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -384,23 +384,23 @@ icu_provider: 2.1.1, "Unicode-3.0",
384384
ident_case: 1.0.1, "Apache-2.0 OR MIT",
385385
idna: 1.1.0, "Apache-2.0 OR MIT",
386386
idna_adapter: 1.2.1, "Apache-2.0 OR MIT",
387-
iggy: 0.8.2-edge.2, "Apache-2.0",
388-
iggy-bench: 0.3.2-edge.1, "Apache-2.0",
387+
iggy: 0.8.3-edge.1, "Apache-2.0",
388+
iggy-bench: 0.3.3-edge.1, "Apache-2.0",
389389
iggy-bench-dashboard-server: 0.5.1-edge.1, "Apache-2.0",
390-
iggy-cli: 0.10.2-edge.1, "Apache-2.0",
391-
iggy-connectors: 0.2.2-edge.1, "Apache-2.0",
392-
iggy-mcp: 0.2.2-edge.1, "Apache-2.0",
393-
iggy_binary_protocol: 0.8.2-edge.2, "Apache-2.0",
394-
iggy_common: 0.8.2-edge.2, "Apache-2.0",
395-
iggy_connector_elasticsearch_sink: 0.2.1-edge.1, "Apache-2.0",
396-
iggy_connector_elasticsearch_source: 0.2.1-edge.1, "Apache-2.0",
397-
iggy_connector_iceberg_sink: 0.2.1-edge.1, "Apache-2.0",
398-
iggy_connector_postgres_sink: 0.2.1-edge.1, "Apache-2.0",
399-
iggy_connector_postgres_source: 0.2.1-edge.1, "Apache-2.0",
400-
iggy_connector_quickwit_sink: 0.2.1-edge.1, "Apache-2.0",
401-
iggy_connector_random_source: 0.2.1-edge.1, "Apache-2.0",
402-
iggy_connector_sdk: 0.1.2-edge.1, "Apache-2.0",
403-
iggy_connector_stdout_sink: 0.2.1-edge.1, "Apache-2.0",
390+
iggy-cli: 0.10.3-edge.1, "Apache-2.0",
391+
iggy-connectors: 0.2.3-edge.1, "Apache-2.0",
392+
iggy-mcp: 0.2.3-edge.1, "Apache-2.0",
393+
iggy_binary_protocol: 0.8.3-edge.1, "Apache-2.0",
394+
iggy_common: 0.8.3-edge.1, "Apache-2.0",
395+
iggy_connector_elasticsearch_sink: 0.2.2-edge.1, "Apache-2.0",
396+
iggy_connector_elasticsearch_source: 0.2.2-edge.1, "Apache-2.0",
397+
iggy_connector_iceberg_sink: 0.2.2-edge.1, "Apache-2.0",
398+
iggy_connector_postgres_sink: 0.2.2-edge.1, "Apache-2.0",
399+
iggy_connector_postgres_source: 0.2.2-edge.1, "Apache-2.0",
400+
iggy_connector_quickwit_sink: 0.2.2-edge.1, "Apache-2.0",
401+
iggy_connector_random_source: 0.2.2-edge.1, "Apache-2.0",
402+
iggy_connector_sdk: 0.1.3-edge.1, "Apache-2.0",
403+
iggy_connector_stdout_sink: 0.2.2-edge.1, "Apache-2.0",
404404
iggy_examples: 0.0.6, "Apache-2.0",
405405
ignore: 0.4.25, "MIT OR Unlicense",
406406
impl-more: 0.1.9, "Apache-2.0 OR MIT",
@@ -717,7 +717,7 @@ serde_with_macros: 3.16.1, "Apache-2.0 OR MIT",
717717
serde_yaml_ng: 0.10.0, "MIT",
718718
serial_test: 3.3.1, "MIT",
719719
serial_test_derive: 3.3.1, "MIT",
720-
server: 0.6.2-edge.1, "Apache-2.0",
720+
server: 0.6.3-edge.1, "Apache-2.0",
721721
sha1: 0.10.6, "Apache-2.0 OR MIT",
722722
sha2: 0.10.9, "Apache-2.0 OR MIT",
723723
sha3: 0.10.8, "Apache-2.0 OR MIT",

core/ai/mcp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[package]
1919
name = "iggy-mcp"
20-
version = "0.2.2-edge.1"
20+
version = "0.2.3-edge.1"
2121
description = "MCP Server for Iggy message streaming platform"
2222
edition = "2024"
2323
license = "Apache-2.0"

core/bench/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[package]
1919
name = "iggy-bench"
20-
version = "0.3.2-edge.1"
20+
version = "0.3.3-edge.1"
2121
edition = "2024"
2222
license = "Apache-2.0"
2323
repository = "https://github.com/apache/iggy"

core/binary_protocol/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[package]
1919
name = "iggy_binary_protocol"
20-
version = "0.8.2-edge.2"
20+
version = "0.8.3-edge.1"
2121
description = "Iggy is the persistent message streaming platform written in Rust, supporting QUIC, TCP and HTTP transport protocols, capable of processing millions of messages per second."
2222
edition = "2024"
2323
license = "Apache-2.0"

core/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[package]
1919
name = "iggy-cli"
20-
version = "0.10.2-edge.1"
20+
version = "0.10.3-edge.1"
2121
edition = "2024"
2222
authors = ["bartosz.ciesla@gmail.com"]
2323
repository = "https://github.com/apache/iggy"

core/common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717
[package]
1818
name = "iggy_common"
19-
version = "0.8.2-edge.2"
19+
version = "0.8.3-edge.1"
2020
description = "Iggy is the persistent message streaming platform written in Rust, supporting QUIC, TCP and HTTP transport protocols, capable of processing millions of messages per second."
2121
edition = "2024"
2222
license = "Apache-2.0"

core/common/src/types/message/iggy_message.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ impl IggyMessage {
190190
origin_timestamp: IggyTimestamp::now().as_micros(),
191191
user_headers_length,
192192
payload_length: payload.len() as u32,
193+
reserved: 0,
193194
};
194195

195196
let user_headers = user_headers.map(|h| h.to_bytes());

0 commit comments

Comments
 (0)