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" />
<PackageReference Include="Kafka.Shared" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=Kafka.Shared&version=1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net9.0
- Confluent.Kafka (>= 2.13.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.12)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.