Table of Contents

KNet: CLI

Installation

KNet CLI is available in two different formats:

Usage

To use the CLI interface (KNetCLI) runs a command like the following:

  • dotnet tool

knet -ClassToRun ConsoleConsumer --bootstrap-server SERVER-ADDRESS:9093 --topic topic_name --from-beginning

  • Docker image

docker run ghcr.io/masesgroup/mases.knet -ClassToRun ConsoleConsumer --bootstrap-server SERVER-ADDRESS:9093 --topic topic_name --from-beginning

Command line switch available

knetcli needs at least ClassToRun command-line switch to identify its behavior. Other options on Command line switch page.