kalix projects config set broker
Set the broker.
kalix projects config set broker [flags]
Options
--broker-auth string Select the Kafka authentication mechanism. Supported types are scram-sha-256, scram-sha-512, plain. --broker-bootstrap-servers string Kafka bootstrap servers separated by commas. Each server is in the format 'hostname:port'. --broker-ca-cert-secret string The Kafka CA cert secret name. NOTE: The secret can be generated by the command 'kalix secrets create tls-ca' --broker-config-file string (Deprecated) The broker configuration file. Required if kafka is the broker service and NOT using SASL auth. --broker-password-secret string The Kafka password secret in format '<secret-name>/<data-key>'. NOTE: The secret can be generated by the command 'kalix secrets create generic' --broker-service string The type of the broker service, one of: [google-pubsub, kafka]. Required. --broker-user string Kafka username. --description string The description of the broker setting. --gcp-key string The GCP key. Either this or --gcp-key-file is required if google-pubsub is the broker service. --gcp-key-file string The GCP key file. Either this or --gcp-key is required if google-pubsub is the broker service. -h, --help help for broker --owner string the owner of the project to use, needed if you have two projects with the same name from different owners --project string project to use if not using the default configured project
Options inherited from parent commands
--cache-file string location of cache file (default "~/.kalix/cache.yaml") --config string location of config file (default "~/.kalix/config.yaml") --context string configuration context to use --disable-prompt Disable all interactive prompts when running kalix commands. If input is required, defaults will be used, or an error will be raised. This is equivalent to setting the environment variable KALIX_DISABLE_PROMPTS to true. -o, --output string set output format to one of [text,json,go-template=] (default "text") -q, --quiet set quiet output (helpful when used as part of a script) --timeout duration client command timeout (default 10s) --use-grpc-web use grpc-web when talking to Kalix APIs. This is useful when behind corporate firewalls that decrypt traffic but don't support HTTP/2. -v, --verbose set verbose output
SEE ALSO
-
kalix projects config set - Set project resources.