Skip to content

Commit

Permalink
kafka: add producer/dedup/consumer (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid authored Aug 29, 2023
1 parent 870fc65 commit 3f8f169
Show file tree
Hide file tree
Showing 16 changed files with 1,552 additions and 44 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ concurrency:
cancel-in-progress: true

on:

workflow_dispatch:

push:
tags:
- 'v*'
Expand All @@ -18,15 +16,11 @@ env:
CARGO_TERM_COLOR: always

jobs:

release:

strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]

runs-on: ["${{ matrix.os }}"]

steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -58,6 +52,11 @@ jobs:
target
key: ${{ matrix.os }}-cargo-${{ hashFiles('rust-toolchain.toml') }}-${{ hashFiles('**/Cargo.lock') }}-0001

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsasl2-dev
- name: Check Solana version
run: |
echo "CI_TAG=$(ci/getTag.sh)" >> "$GITHUB_ENV"
Expand All @@ -78,6 +77,7 @@ jobs:
run: |
mv target/release/client target/release/client-22
mv target/release/config-check target/release/config-check-22
mv target/release/grpc-kafka target/release/grpc-kafka-22
mv ${{ env.GEYSER_PLUGIN_NAME }}-release-x86_64-unknown-linux-gnu.tar.bz2 ${{ env.GEYSER_PLUGIN_NAME }}-release22-x86_64-unknown-linux-gnu.tar.bz2
mv ${{ env.GEYSER_PLUGIN_NAME }}-release-x86_64-unknown-linux-gnu.yml ${{ env.GEYSER_PLUGIN_NAME }}-release22-x86_64-unknown-linux-gnu.yml
Expand All @@ -99,3 +99,4 @@ jobs:
yellowstone-grpc-proto/proto/*.proto
target/release/client*
target/release/config-check*
target/release/grpc-kafka*
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@ env:
CARGO_TERM_COLOR: always

jobs:

test:

strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]

runs-on: ["${{ matrix.os }}"]

steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -52,6 +48,11 @@ jobs:
target
key: ${{ matrix.os }}-cargo-${{ hashFiles('rust-toolchain.toml') }}-${{ hashFiles('**/Cargo.lock') }}-0001

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsasl2-dev
- name: cargo tree
run: |
cargo tree
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ The minor version will be incremented upon a breaking change and the patch versi

### Breaking

## 2023-08-28

- yellowstone-grpc-kafka-1.0.0-rc.0+solana.1.16.1

### Features

kafka: init ([#170](https://github.com/rpcpool/yellowstone-grpc/pull/170)).

## 2023-08-21

- yellowstone-grpc-geyser-1.7.1+solana.1.16.1
Expand Down
Loading

0 comments on commit 3f8f169

Please sign in to comment.