sdk broker local
Overview
Configure the SDK to use a local broker (default: localhost:19092)
Aliases: local
, enable
Usage:
Options:
--env-file-name <env-file-name>
: Set the name of the environment file [default: .env]--directory <directory>
: Base directory (defaults to current directory)--update
: Update '.env' files of all the applications with the current SDK broker configuration
How It Works
The quix contexts broker local
command configures the SDK broker configuration to use a broker accessible from your local machine. By default, this sets the broker to the pipeline broker running on localhost:19092
.
Example Usage
To set the SDK broker configuration to a locally accessible broker, use the following command:
If successful, you will see the following confirmation message:
Tip
You can change the SDK broker configuration address using the quix sdk broker set
command.