-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add tagged-release github action pipeline Signed-off-by: Zhanhui Li <[email protected]> * Fix C++ SDK core dump issue (#2) * fix: sync namespace from server Settings * feat: use opentelemetry for tracing/metrics/logging * Remove broken links and add targets to generate compile_commands.json Signed-off-by: lizhanhui <[email protected]> * fix: timer task may invoke a call to a destructing stream Signed-off-by: Zhanhui Li <[email protected]> * fix: update document as we have changed the way to generate compile_commands.json * fix: static_cast StreamState to std::uint8_t as enum class by default is not formattable Signed-off-by: Li Zhanhui <[email protected]> --------- Signed-off-by: lizhanhui <[email protected]> Signed-off-by: Zhanhui Li <[email protected]> Signed-off-by: Li Zhanhui <[email protected]> * fix: fix stream state transition with gRPC reactor Signed-off-by: Li Zhanhui <[email protected]> * fix: revamp TelemetryBidiRecator Signed-off-by: Li Zhanhui <[email protected]> * feat: explicitly control exported symbols Signed-off-by: Li Zhanhui <[email protected]> * fix: release write hold when OnReadDone with ok=false and there is no inflight write Signed-off-by: Li Zhanhui <[email protected]> * feat: revamp TelemetryBidiReactor states and their transition graph Signed-off-by: Li Zhanhui <[email protected]> * fix: example publish message QPS stats lambda * Fifo opt (#732) * Prepare to optimize FIFO publishing Signed-off-by: Li Zhanhui <[email protected]> * fix: SendReceipt now contains std::unique_ptr<Message> being sent Signed-off-by: Li Zhanhui <[email protected]> * fix: add doc explaining why we taking ownership of the message being sent Signed-off-by: Li Zhanhui <[email protected]> * feat: implement FifoProducerPartition Signed-off-by: Li Zhanhui <[email protected]> * feat: implement FifoProducerImpl Signed-off-by: Li Zhanhui <[email protected]> * feat: implement builder for FifoProducer Signed-off-by: Li Zhanhui <[email protected]> * fix: prepare to debug Signed-off-by: Li Zhanhui <[email protected]> * fix: log sending sending stages Signed-off-by: Li Zhanhui <[email protected]> --------- Signed-off-by: Li Zhanhui <[email protected]> * fix: spell errors Signed-off-by: Li Zhanhui <[email protected]> * fix: markdown code blocks should be fenced by blank lines Signed-off-by: Li Zhanhui <[email protected]> * fix: copyright header Signed-off-by: Li Zhanhui <[email protected]> * fix: copyright header Signed-off-by: Li Zhanhui <[email protected]> * fix: include statements Signed-off-by: Zhanhui Li <[email protected]> * feat: build example_fifo_producer in BUILD.bazel Signed-off-by: Zhanhui Li <[email protected]> * fix: #713 correct misuse of absl::make_optional Signed-off-by: Zhanhui Li <[email protected]> --------- Signed-off-by: Zhanhui Li <[email protected]> Signed-off-by: lizhanhui <[email protected]> Signed-off-by: Li Zhanhui <[email protected]>
- Loading branch information
Showing
51 changed files
with
1,537 additions
and
344 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
name: "cpp-tagged-release" | ||
|
||
on: | ||
push: | ||
tags: | ||
- "cpp-*" | ||
|
||
jobs: | ||
tagged-release: | ||
name: "C++ Tagged Release" | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: grpc/grpc | ||
# The branch, tag or SHA to checkout. When checking out the repository that | ||
# triggered a workflow, this defaults to the reference or SHA for that event. | ||
# Otherwise, uses the default branch. | ||
ref: 'v1.46.3' | ||
# Relative path under $GITHUB_WORKSPACE to place the repository | ||
path: cpp/repo/grpc | ||
submodules: true | ||
- name: "Install Dependencies" | ||
run: | | ||
sudo apt-get install -y build-essential autoconf libtool pkg-config cmake git libprotobuf-dev libssl-dev zlib1g-dev libgflags-dev | ||
- name: "Build gRPC" | ||
working-directory: ./cpp/repo/grpc | ||
run: | | ||
mkdir _build && cd _build | ||
cmake -DCMAKE_INSTALL_PREFIX=$HOME/grpc -DgRPC_SSL_PROVIDER=package -DgRPC_ZLIB_PROVIDER=package -DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG -DgRPC_ZLIB_PROVIDER=package .. | ||
make | ||
make install | ||
- name: "Build Libraries" | ||
working-directory: ./cpp | ||
run: | | ||
mkdir _build && cd _build | ||
cmake .. | ||
make | ||
- name: "Package" | ||
working-directory: ./cpp | ||
run: | | ||
mkdir -p dist/lib | ||
mkdir -p dist/include | ||
cp -r include/rocketmq dist/include/ | ||
cp _build/librocketmq.so dist/lib/ | ||
cp _build/librocketmq.a dist/lib/ | ||
tar -czvf dist.tar.gz dist | ||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
prerelease: false | ||
automatic_release_tag: cpp | ||
files: | | ||
cpp/dist.tar.gz |
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
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
Oops, something went wrong.