Kafka.Shared 1.0.8

dotnet add package Kafka.Shared --version 1.0.8
                    
NuGet\Install-Package Kafka.Shared -Version 1.0.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Kafka.Shared" Version="1.0.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kafka.Shared" Version="1.0.8" />
                    
Directory.Packages.props
<PackageReference Include="Kafka.Shared" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kafka.Shared --version 1.0.8
                    
#r "nuget: Kafka.Shared, 1.0.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Kafka.Shared@1.0.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kafka.Shared&version=1.0.8
                    
Install as a Cake Addin
#tool nuget:?package=Kafka.Shared&version=1.0.8
                    
Install as a Cake Tool

name: ci

on: push: branches: [main]

jobs: generate-version: runs-on: ubuntu-latest permissions: contents: write

steps:
  - uses: actions/checkout@v4

  - name: GitHub Tag Bump
    id: tab_bump
    uses: anothrNick/github-tag-action@1.71.0
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      INITIAL_VERSION: 1.0.0
      DEFAULT_BUMP: patch

outputs:
  new_version: ${{ steps.tab_bump.outputs.new_tag }}

package-and-publish-lib: runs-on: ubuntu-latest needs: generate-version

steps:
  - uses: actions/checkout@v4

  - name: Setup .NET
    uses: actions/setup-dotnet@v4
    with:
        dotnet-version: 9.0.x

  - name: Restore
    run: dotnet restore

  - name: Build
    run: dotnet build --configuration Release --no-restore

  - name: Pack
    run: |
        dotnet pack Kafka.Shared/ \
        --configuration Release \
        --no-build \
        -p:PackageVersion=${{ needs.generate-version.outputs.new_version }} \
        -o packages

    # ----------------------------
    # Publish to NuGet.org
    # ----------------------------
  - name: Publish to NuGet
    run: dotnet nuget push packages/*.nupkg \
         --api-key ${{ secrets.NUGET_API_KEY }} \
         --source https://api.nuget.org/v3/index.json \
         --skip-duplicate

    # ----------------------------
    # Publish to GitHub Packages
    # ----------------------------
  - name: Add GitHub NuGet source
    run: |
        dotnet nuget add source \
        --username ${{ github.actor }} \
        --password ${{ secrets.GITHUB_TOKEN }} \
        --store-password-in-clear-text \
        --name github \
        "https://nuget.pkg.github.com/hauqianq/index.json"

  - name: Publish to GitHub Packages
    run: dotnet nuget push packages/*.nupkg \
        --source github \
        --skip-duplicate
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.8 117 2/11/2026
1.0.7 115 2/11/2026
1.0.4 116 2/11/2026