Skip to content

Commit

Permalink
Updated broker create examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasgun committed Jul 29, 2021
1 parent f374815 commit bc6d3ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/kn/commands/broker/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ var createExample = `
kn broker create mybroker
# Create a broker 'mybroker' in the 'myproject' namespace
kn broker create mybroker --namespace myproject`
kn broker create mybroker --namespace myproject
# Create a broker 'mybroker' in the 'myproject' namespace and with a broker class of 'Kafka'
kn broker create mybroker --namespace myproject --broker Kafka
`

// NewBrokerCreateCommand represents command to create new broker instance
func NewBrokerCreateCommand(p *commands.KnParams) *cobra.Command {
Expand Down

0 comments on commit bc6d3ac

Please sign in to comment.