You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by pi...@apache.org on 2025/06/19 14:56:41 UTC
(iggy) branch publish_bench_connectors created (now abef45bd)
This is an automated email from the ASF dual-hosted git repository.
piotr pushed a change to branch publish_bench_connectors
in repository https://gitbox.apache.org/repos/asf/iggy.git
at abef45bd feat(repo): add workflow for publishing bench and connectors
This branch includes the following new commits:
new abef45bd feat(repo): add workflow for publishing bench and connectors
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(iggy) 01/01: feat(repo): add workflow for publishing bench and connectors
Posted by pi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
piotr pushed a commit to branch publish_bench_connectors
in repository https://gitbox.apache.org/repos/asf/iggy.git
commit abef45bd3e877978fcd7e85cf3e53a1fada03e0c
Author: spetz <pi...@gmail.com>
AuthorDate: Thu Jun 19 16:56:32 2025 +0200
feat(repo): add workflow for publishing bench and connectors
---
.github/workflows/publish_bench.yml | 127 ++++++++++++++++++++++++
.github/workflows/publish_connectors.yml | 127 ++++++++++++++++++++++++
.github/workflows/release_bench.yml | 161 +++++++++++++++++++++++++++++++
.github/workflows/release_connectors.yml | 161 +++++++++++++++++++++++++++++++
Cargo.lock | 114 +++++++++++-----------
DEPENDENCIES.md | 4 +-
core/bench/Cargo.toml | 8 +-
core/connectors/README.md | 2 +-
core/connectors/runtime/Cargo.toml | 6 +-
9 files changed, 646 insertions(+), 64 deletions(-)
diff --git a/.github/workflows/publish_bench.yml b/.github/workflows/publish_bench.yml
new file mode 100644
index 00000000..c4c2cbc9
--- /dev/null
+++ b/.github/workflows/publish_bench.yml
@@ -0,0 +1,127 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: publish_bench
+on:
+ push:
+ tags:
+ - "iggy-bench-*"
+
+env:
+ GITHUB_TOKEN: ${{ github.token }}
+ CARGO_TERM_COLOR: always
+
+jobs:
+ validate:
+ if: startsWith(github.ref, 'refs/tags/iggy-bench-')
+ runs-on: ubuntu-latest
+ steps:
+ - name: Extract tag name
+ id: extract
+ run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
+
+ - name: Validate tag format
+ run: |
+ TAG=${TAG}
+ if [[ ! "$TAG" =~ ^iggy-bench-([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$ ]]; then
+ echo "Tag $TAG does not match strict semver format (iggy-bench-X.Y.Z where 0 <= X,Y,Z <= 999)"
+ exit 1
+ fi
+ echo "Valid tag: $TAG"
+
+ tag:
+ needs: validate
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Extract tag name
+ id: extract_tag
+ run: |
+ tag=${GITHUB_REF#refs/tags/}
+ echo "tag_name=$tag" >> "$GITHUB_OUTPUT"
+ echo "::notice ::Tag that triggered the workflow: $tag"
+
+ - name: Extract iggy-bench version from Cargo.toml
+ id: extract_version
+ run: |
+ version=$(cargo pkgid -p iggy-bench | cut -d@ -f2)
+ echo "iggy_bench_version=$version" >> "$GITHUB_OUTPUT"
+ echo "::notice ::Version from Cargo.toml $version"
+
+ - name: Check if version from Cargo.toml is the same as the tag
+ id: check_git_tag
+ run: |
+ if [[ "iggy-bench-${{ steps.extract_version.outputs.iggy_bench_version }}" == "${{ steps.extract_tag.outputs.tag_name }}" ]];
+ then
+ echo "::notice ::Tag ${{ steps.extract_tag.outputs.tag_name }} matches the version in Cargo.toml"
+ echo "tag_matches=true" >> "$GITHUB_OUTPUT"
+ else
+ echo "::warning ::Tag ${{ steps.extract_tag.outputs.tag_name }} does not match the version from Cargo.toml"
+ echo "tag_matches=false" >> "$GITHUB_OUTPUT"
+ fi
+
+ outputs:
+ iggy_bench_version: ${{ steps.extract_tag.outputs.tag_name }}
+ tag_created: ${{ steps.check_git_tag.outputs.tag_matches }}
+
+ publish:
+ name: Publish bench on crates.io
+ needs: tag
+ if: ${{ needs.tag.outputs.tag_created == 'true' }}
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - run: |
+ rustup toolchain add --profile=minimal stable
+ rustup override set stable
+
+ - name: publish
+ run: |
+ cargo login "${{ secrets.CARGO_REGISTRY_TOKEN }}"
+ cargo publish -p iggy-bench
+
+ github_release:
+ uses: ./.github/workflows/release_bench.yml
+ needs: tag
+ if: ${{ needs.tag.outputs.tag_created == 'true' }}
+ with:
+ tag_name: "iggy-bench-${{ needs.tag.outputs.iggy_bench_version }}"
+
+ finalize_bench:
+ runs-on: ubuntu-latest
+ needs:
+ - publish
+ - github_release
+ if: always()
+ steps:
+ - uses: actions/checkout@v4
+ - name: Everything is fine
+ if: ${{ !(contains(needs.*.result, 'failure')) }}
+ run: exit 0
+ - name: Something went wrong
+ if: ${{ contains(needs.*.result, 'failure') }}
+ uses: JasonEtco/create-an-issue@v2
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_BOT_CONTEXT_STRING: "publish to crates.io"
+ with:
+ filename: .github/BOT_ISSUE_TEMPLATE.md
diff --git a/.github/workflows/publish_connectors.yml b/.github/workflows/publish_connectors.yml
new file mode 100644
index 00000000..abb82d2f
--- /dev/null
+++ b/.github/workflows/publish_connectors.yml
@@ -0,0 +1,127 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: publish_connectors
+on:
+ push:
+ tags:
+ - "iggy-connectors-*"
+
+env:
+ GITHUB_TOKEN: ${{ github.token }}
+ CARGO_TERM_COLOR: always
+
+jobs:
+ validate:
+ if: startsWith(github.ref, 'refs/tags/iggy-connectors-')
+ runs-on: ubuntu-latest
+ steps:
+ - name: Extract tag name
+ id: extract
+ run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
+
+ - name: Validate tag format
+ run: |
+ TAG=${TAG}
+ if [[ ! "$TAG" =~ ^iggy-connectors-([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$ ]]; then
+ echo "Tag $TAG does not match strict semver format (iggy-connectors-X.Y.Z where 0 <= X,Y,Z <= 999)"
+ exit 1
+ fi
+ echo "Valid tag: $TAG"
+
+ tag:
+ needs: validate
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Extract tag name
+ id: extract_tag
+ run: |
+ tag=${GITHUB_REF#refs/tags/}
+ echo "tag_name=$tag" >> "$GITHUB_OUTPUT"
+ echo "::notice ::Tag that triggered the workflow: $tag"
+
+ - name: Extract iggy-connectors version from Cargo.toml
+ id: extract_version
+ run: |
+ version=$(cargo pkgid -p iggy-connectors | cut -d@ -f2)
+ echo "iggy_connectors_version=$version" >> "$GITHUB_OUTPUT"
+ echo "::notice ::Version from Cargo.toml $version"
+
+ - name: Check if version from Cargo.toml is the same as the tag
+ id: check_git_tag
+ run: |
+ if [[ "iggy-connectors-${{ steps.extract_version.outputs.iggy_connectors_version }}" == "${{ steps.extract_tag.outputs.tag_name }}" ]];
+ then
+ echo "::notice ::Tag ${{ steps.extract_tag.outputs.tag_name }} matches the version in Cargo.toml"
+ echo "tag_matches=true" >> "$GITHUB_OUTPUT"
+ else
+ echo "::warning ::Tag ${{ steps.extract_tag.outputs.tag_name }} does not match the version from Cargo.toml"
+ echo "tag_matches=false" >> "$GITHUB_OUTPUT"
+ fi
+
+ outputs:
+ iggy_connectors_version: ${{ steps.extract_tag.outputs.tag_name }}
+ tag_created: ${{ steps.check_git_tag.outputs.tag_matches }}
+
+ publish:
+ name: Publish Connectors Runtime on crates.io
+ needs: tag
+ if: ${{ needs.tag.outputs.tag_created == 'true' }}
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - run: |
+ rustup toolchain add --profile=minimal stable
+ rustup override set stable
+
+ - name: publish
+ run: |
+ cargo login "${{ secrets.CARGO_REGISTRY_TOKEN }}"
+ cargo publish -p iggy-connectors
+
+ github_release:
+ uses: ./.github/workflows/release_connectors.yml
+ needs: tag
+ if: ${{ needs.tag.outputs.tag_created == 'true' }}
+ with:
+ tag_name: "iggy-connectors-${{ needs.tag.outputs.iggy_connectors_version }}"
+
+ finalize_connectors:
+ runs-on: ubuntu-latest
+ needs:
+ - publish
+ - github_release
+ if: always()
+ steps:
+ - uses: actions/checkout@v4
+ - name: Everything is fine
+ if: ${{ !(contains(needs.*.result, 'failure')) }}
+ run: exit 0
+ - name: Something went wrong
+ if: ${{ contains(needs.*.result, 'failure') }}
+ uses: JasonEtco/create-an-issue@v2
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_BOT_CONTEXT_STRING: "publish to crates.io"
+ with:
+ filename: .github/BOT_ISSUE_TEMPLATE.md
diff --git a/.github/workflows/release_bench.yml b/.github/workflows/release_bench.yml
new file mode 100644
index 00000000..68227e92
--- /dev/null
+++ b/.github/workflows/release_bench.yml
@@ -0,0 +1,161 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: release_bench
+
+on:
+ workflow_call:
+ inputs:
+ tag_name:
+ description: "The name of the tag to be released"
+ required: true
+ type: string
+
+env:
+ GITHUB_TOKEN: ${{ github.token }}
+ RUST_BACKTRACE: 1
+ CARGO_TERM_COLOR: always
+ IGGY_CI_BUILD: true
+
+jobs:
+ build_bench:
+ runs-on: ${{ matrix.platform.os }}
+ strategy:
+ matrix:
+ platform:
+ - target: x86_64-unknown-linux-musl
+ os: ubuntu-latest
+ executable: iggy
+ file: iggy-bench-x86_64-unknown-linux-musl.tgz
+ - target: aarch64-unknown-linux-musl
+ os: ubuntu-latest
+ executable: iggy
+ file: iggy-bench-aarch64-unknown-linux-musl.tgz
+ - target: x86_64-unknown-linux-gnu
+ os: ubuntu-latest
+ executable: iggy
+ file: iggy-bench-x86_64-unknown-linux-gnu.tgz
+ - target: x86_64-pc-windows-msvc
+ os: windows-latest
+ executable: iggy.exe
+ file: iggy-bench-x86_64-pc-windows-msvc.zip
+ - target: aarch64-pc-windows-msvc
+ os: windows-latest
+ executable: iggy.exe
+ file: iggy-bench-aarch64-pc-windows-msvc.zip
+ - target: x86_64-apple-darwin
+ os: macos-latest
+ executable: iggy
+ file: iggy-bench-x86_64-apple-darwin.zip
+ - target: aarch64-apple-darwin
+ os: macos-latest
+ executable: iggy
+ file: iggy-bench-aarch64-apple-darwin.zip
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Cache cargo & target directories
+ uses: Swatinem/rust-cache@v2
+ with:
+ key: "release-bench-${{ matrix.platform.target }}"
+
+ - name: Install musl-tools on Linux
+ run: sudo apt-get update --yes && sudo apt-get install --yes musl-tools
+ if: ${{ matrix.platform.target == 'x86_64-unknown-linux-musl' }}
+
+ - name: Prepare ${{ matrix.platform.target }} toolchain
+ run: |
+ rustup toolchain add --profile=minimal stable
+ rustup target add --toolchain=stable ${{ matrix.platform.target }}
+ rustup override set stable
+
+ - name: Install cross
+ uses: taiki-e/install-action@v2
+ with:
+ tool: cross
+
+ - name: Build ${{ matrix.platform.target }} release binary
+ run: cross +stable build --verbose --release --target ${{ matrix.platform.target }} -p iggy
+
+ - name: Collect ${{ matrix.platform.target }} executable
+ run: |
+ cp target/${{ matrix.platform.target }}/release/${{ matrix.platform.executable }} .
+
+ - name: Create ${{ matrix.platform.file }} artifact
+ run: |
+ tar cvfz ${{ matrix.platform.file }} ${{ matrix.platform.executable }}
+ if: ${{ matrix.platform.os == 'ubuntu-latest' }}
+
+ - name: Create ${{ matrix.platform.file }} artifact
+ uses: vimtor/action-zip@v1
+ with:
+ files: ${{ matrix.platform.executable }}
+ dest: ${{ matrix.platform.file }}
+ if: ${{ matrix.platform.os == 'windows-latest' || matrix.platform.os == 'macos-latest' }}
+
+ - name: Upload ${{ matrix.platform.file }} artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: artifacts-${{ matrix.platform.target }}
+ path: ${{ matrix.platform.file }}
+
+ - name: Print message
+ run: echo "::notice ::Created binary for ${{ matrix.platform.target }}"
+
+ outputs:
+ version: ${{ needs.tag.outputs.version }}
+
+ release_bench:
+ name: Create iggy-bench release
+ runs-on: ubuntu-latest
+ needs: build_bench
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Download all artifacts
+ uses: actions/download-artifact@v4
+
+ - name: List files
+ run: find
+
+ - name: Create Changelog
+ uses: orhun/git-cliff-action@v4
+ id: changelog
+ with:
+ config: cliff.toml
+ args: -vv --latest
+ env:
+ OUTPUT: CHANGELOG.md
+ GITHUB_REPO: ${{ github.repository }}
+
+ - name: Create GitHub Release
+ uses: softprops/action-gh-release@v2
+ with:
+ body: ${{ steps.changelog.outputs.content }}
+ files: |
+ artifacts-*/*.tgz
+ artifacts-*/*.zip
+ CHANGELOG.md
+ tag_name: ${{ inputs.tag_name }}
+ draft: false
+ prerelease: false
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/release_connectors.yml b/.github/workflows/release_connectors.yml
new file mode 100644
index 00000000..95006535
--- /dev/null
+++ b/.github/workflows/release_connectors.yml
@@ -0,0 +1,161 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: release_connectors
+
+on:
+ workflow_call:
+ inputs:
+ tag_name:
+ description: "The name of the tag to be released"
+ required: true
+ type: string
+
+env:
+ GITHUB_TOKEN: ${{ github.token }}
+ RUST_BACKTRACE: 1
+ CARGO_TERM_COLOR: always
+ IGGY_CI_BUILD: true
+
+jobs:
+ build_connectors:
+ runs-on: ${{ matrix.platform.os }}
+ strategy:
+ matrix:
+ platform:
+ - target: x86_64-unknown-linux-musl
+ os: ubuntu-latest
+ executable: iggy
+ file: iggy-connectors-x86_64-unknown-linux-musl.tgz
+ - target: aarch64-unknown-linux-musl
+ os: ubuntu-latest
+ executable: iggy
+ file: iggy-connectors-aarch64-unknown-linux-musl.tgz
+ - target: x86_64-unknown-linux-gnu
+ os: ubuntu-latest
+ executable: iggy
+ file: iggy-connectors-x86_64-unknown-linux-gnu.tgz
+ - target: x86_64-pc-windows-msvc
+ os: windows-latest
+ executable: iggy.exe
+ file: iggy-connectors-x86_64-pc-windows-msvc.zip
+ - target: aarch64-pc-windows-msvc
+ os: windows-latest
+ executable: iggy.exe
+ file: iggy-connectors-aarch64-pc-windows-msvc.zip
+ - target: x86_64-apple-darwin
+ os: macos-latest
+ executable: iggy
+ file: iggy-connectors-x86_64-apple-darwin.zip
+ - target: aarch64-apple-darwin
+ os: macos-latest
+ executable: iggy
+ file: iggy-connectors-aarch64-apple-darwin.zip
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Cache cargo & target directories
+ uses: Swatinem/rust-cache@v2
+ with:
+ key: "release-connectors-${{ matrix.platform.target }}"
+
+ - name: Install musl-tools on Linux
+ run: sudo apt-get update --yes && sudo apt-get install --yes musl-tools
+ if: ${{ matrix.platform.target == 'x86_64-unknown-linux-musl' }}
+
+ - name: Prepare ${{ matrix.platform.target }} toolchain
+ run: |
+ rustup toolchain add --profile=minimal stable
+ rustup target add --toolchain=stable ${{ matrix.platform.target }}
+ rustup override set stable
+
+ - name: Install cross
+ uses: taiki-e/install-action@v2
+ with:
+ tool: cross
+
+ - name: Build ${{ matrix.platform.target }} release binary
+ run: cross +stable build --verbose --release --target ${{ matrix.platform.target }} -p iggy
+
+ - name: Collect ${{ matrix.platform.target }} executable
+ run: |
+ cp target/${{ matrix.platform.target }}/release/${{ matrix.platform.executable }} .
+
+ - name: Create ${{ matrix.platform.file }} artifact
+ run: |
+ tar cvfz ${{ matrix.platform.file }} ${{ matrix.platform.executable }}
+ if: ${{ matrix.platform.os == 'ubuntu-latest' }}
+
+ - name: Create ${{ matrix.platform.file }} artifact
+ uses: vimtor/action-zip@v1
+ with:
+ files: ${{ matrix.platform.executable }}
+ dest: ${{ matrix.platform.file }}
+ if: ${{ matrix.platform.os == 'windows-latest' || matrix.platform.os == 'macos-latest' }}
+
+ - name: Upload ${{ matrix.platform.file }} artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: artifacts-${{ matrix.platform.target }}
+ path: ${{ matrix.platform.file }}
+
+ - name: Print message
+ run: echo "::notice ::Created binary for ${{ matrix.platform.target }}"
+
+ outputs:
+ version: ${{ needs.tag.outputs.version }}
+
+ release_connectors:
+ name: Create iggy-connectors release
+ runs-on: ubuntu-latest
+ needs: build_connectors
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Download all artifacts
+ uses: actions/download-artifact@v4
+
+ - name: List files
+ run: find
+
+ - name: Create Changelog
+ uses: orhun/git-cliff-action@v4
+ id: changelog
+ with:
+ config: cliff.toml
+ args: -vv --latest
+ env:
+ OUTPUT: CHANGELOG.md
+ GITHUB_REPO: ${{ github.repository }}
+
+ - name: Create GitHub Release
+ uses: softprops/action-gh-release@v2
+ with:
+ body: ${{ steps.changelog.outputs.content }}
+ files: |
+ artifacts-*/*.tgz
+ artifacts-*/*.zip
+ CHANGELOG.md
+ tag_name: ${{ inputs.tag_name }}
+ draft: false
+ prerelease: false
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/Cargo.lock b/Cargo.lock
index dc28d1bc..e3f46c2a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -859,35 +859,6 @@ dependencies = [
"tokio",
]
-[[package]]
-name = "bench"
-version = "0.2.4"
-dependencies = [
- "async-trait",
- "bench-report",
- "bytes",
- "charming",
- "chrono",
- "clap",
- "figlet-rs",
- "futures-util",
- "governor",
- "hostname",
- "human-repr",
- "iggy",
- "integration",
- "nonzero_lit",
- "rand 0.9.1",
- "serde",
- "sysinfo 0.35.2",
- "tokio",
- "toml",
- "tracing",
- "tracing-appender",
- "tracing-subscriber",
- "uuid",
-]
-
[[package]]
name = "bench-dashboard-frontend"
version = "0.4.1"
@@ -3777,6 +3748,35 @@ dependencies = [
"webpki-roots",
]
+[[package]]
+name = "iggy-bench"
+version = "0.2.4"
+dependencies = [
+ "async-trait",
+ "bench-report",
+ "bytes",
+ "charming",
+ "chrono",
+ "clap",
+ "figlet-rs",
+ "futures-util",
+ "governor",
+ "hostname",
+ "human-repr",
+ "iggy",
+ "integration",
+ "nonzero_lit",
+ "rand 0.9.1",
+ "serde",
+ "sysinfo 0.35.2",
+ "tokio",
+ "toml",
+ "tracing",
+ "tracing-appender",
+ "tracing-subscriber",
+ "uuid",
+]
+
[[package]]
name = "iggy-cli"
version = "0.9.0"
@@ -3797,6 +3797,34 @@ dependencies = [
"tracing-subscriber",
]
+[[package]]
+name = "iggy-connectors"
+version = "0.1.0"
+dependencies = [
+ "axum 0.8.4",
+ "axum-server",
+ "config",
+ "dashmap",
+ "dlopen2",
+ "flume",
+ "futures",
+ "iggy",
+ "iggy_connector_sdk",
+ "mimalloc",
+ "once_cell",
+ "postcard",
+ "serde",
+ "serde_json",
+ "serde_yml",
+ "strum",
+ "thiserror 2.0.12",
+ "tokio",
+ "toml",
+ "tower-http",
+ "tracing",
+ "tracing-subscriber",
+]
+
[[package]]
name = "iggy_binary_protocol"
version = "0.7.0"
@@ -3876,34 +3904,6 @@ dependencies = [
"uuid",
]
-[[package]]
-name = "iggy_connector_runtime"
-version = "0.1.0"
-dependencies = [
- "axum 0.8.4",
- "axum-server",
- "config",
- "dashmap",
- "dlopen2",
- "flume",
- "futures",
- "iggy",
- "iggy_connector_sdk",
- "mimalloc",
- "once_cell",
- "postcard",
- "serde",
- "serde_json",
- "serde_yml",
- "strum",
- "thiserror 2.0.12",
- "tokio",
- "toml",
- "tower-http",
- "tracing",
- "tracing-subscriber",
-]
-
[[package]]
name = "iggy_connector_sdk"
version = "0.1.0"
diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md
index cb2ef66b..7c0ba0f3 100644
--- a/DEPENDENCIES.md
+++ b/DEPENDENCIES.md
@@ -66,7 +66,6 @@ base64: 0.21.7, "Apache-2.0 OR MIT",
base64: 0.22.1, "Apache-2.0 OR MIT",
bcrypt: 0.17.0, "MIT",
bdd: 0.0.1, "Apache-2.0",
-bench: 0.2.4, "Apache-2.0",
bench-dashboard-frontend: 0.4.1, "Apache-2.0",
bench-dashboard-server: 0.4.0, "Apache-2.0",
bench-dashboard-shared: 0.1.0, "Apache-2.0",
@@ -331,12 +330,13 @@ ident_case: 1.0.1, "Apache-2.0 OR MIT",
idna: 1.0.3, "Apache-2.0 OR MIT",
idna_adapter: 1.2.1, "Apache-2.0 OR MIT",
iggy: 0.7.0, "Apache-2.0",
+iggy-bench: 0.2.4, "Apache-2.0",
iggy-cli: 0.9.0, "Apache-2.0",
+iggy-connectors: 0.1.0, "Apache-2.0",
iggy_binary_protocol: 0.7.0, "Apache-2.0",
iggy_common: 0.7.0, "Apache-2.0",
iggy_connector_quickwit_sink: 0.1.0, "Apache-2.0",
iggy_connector_random_source: 0.1.0, "Apache-2.0",
-iggy_connector_runtime: 0.1.0, "Apache-2.0",
iggy_connector_sdk: 0.1.0, "Apache-2.0",
iggy_connector_stdout_sink: 0.1.0, "Apache-2.0",
iggy_examples: 0.0.5, "Apache-2.0",
diff --git a/core/bench/Cargo.toml b/core/bench/Cargo.toml
index fa87b2d7..00a8928c 100644
--- a/core/bench/Cargo.toml
+++ b/core/bench/Cargo.toml
@@ -16,10 +16,16 @@
# under the License.
[package]
-name = "bench"
+name = "iggy-bench"
version = "0.2.4"
edition = "2024"
license = "Apache-2.0"
+repository = "https://github.com/apache/iggy"
+homepage = "https://iggy.apache.org"
+description = "Benchmarking CLI for Iggy message streaming platform"
+keywords = ["iggy", "cli", "messaging", "streaming"]
+readme = "../../README.md"
+
# Due to dependency to integration, which has a dependency to server, setting
# mimalloc on server is also setting it on bench.
diff --git a/core/connectors/README.md b/core/connectors/README.md
index 5749a539..90678223 100644
--- a/core/connectors/README.md
+++ b/core/connectors/README.md
@@ -33,7 +33,7 @@ iggy --username iggy --password iggy topic create qw records 1 none 1d
5. Execute `cargo run--example sink-data-producer -r` which will start the example data producer application, sending the messages to previously created `qw` stream and `records` topic (this will be used by the Quickwit sink connector).
-6. Start the connector runtime `cargo run--bin iggy_connector_runtime -r` - you should be able to browse Quickwit UI with records being constantly added to the `events` index. At the same time, you should see the new messages being added to the `example` stream and `topic1` topic by the test source connector - you can use Iggy Web UI to browse the data. The messages will have applied the basic fields transformations.
+6. Start the connector runtime `cargo run--bin iggy-connectors -r` - you should be able to browse Quickwit UI with records being constantly added to the `events` index. At the same time, you should see the new messages being added to the `example` stream and `topic1` topic by the test source connector - you can use Iggy Web UI to browse the data. The messages will have applied the basic fields transformations.
## Runtime
diff --git a/core/connectors/runtime/Cargo.toml b/core/connectors/runtime/Cargo.toml
index a8e3de60..c3c3e15c 100644
--- a/core/connectors/runtime/Cargo.toml
+++ b/core/connectors/runtime/Cargo.toml
@@ -16,9 +16,9 @@
# under the License.
[package]
-name = "iggy_connector_runtime"
+name = "iggy-connectors"
version = "0.1.0"
-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."
+description = "Connectors runtime for Iggy message streaming platform"
edition = "2024"
license = "Apache-2.0"
keywords = ["iggy", "messaging", "streaming"]
@@ -26,7 +26,7 @@ categories = ["command-line-utilities", "database", "network-programming"]
homepage = "https://iggy.apache.org"
documentation = "https://iggy.apache.org/docs"
repository = "https://github.com/apache/iggy"
-readme = "../../README.md"
+readme = "README.md"
[dependencies]
axum = { workspace = true }