Ksql.Linq.Cli
0.9.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Ksql.Linq.Cli --version 0.9.5
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Ksql.Linq.Cli --version 0.9.5
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Ksql.Linq.Cli&version=0.9.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Ksql.Linq.Cli --version 0.9.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Ksql.Linq.Cli - design-time KSQL & Avro tool
Ksql.Linq.Cli is a .NET global tool that generates KSQL scripts and Avro schemas from a compiled Ksql.Linq-based application, without requiring Kafka/ksqlDB/Schema Registry to be running.
This tool targets Ksql.Linq v0.9.5 or later.
Install
dotnet tool install --global Ksql.Linq.Cli
Commands
Generate KSQL script:
dotnet ksql script \
--project ./src/MyApp/MyApp.csproj \
--output ./ksql/generated.sql \
--verbose
Generate Avro schemas:
dotnet ksql avro \
--project ./src/MyApp/MyApp.csproj \
--output ./schemas \
--verbose
Both commands expect your assembly to implement IDesignTimeKsqlContextFactory,
which creates a design-time KsqlContext that configures the model but skips
runtime connections.
Further documentation
For more details and options, see the wiki: https://github.com/synthaicode/Ksql.Linq/wiki/CLI-Usage
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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.
This package has no dependencies.