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 e077652
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/kn/commands/broker/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ var createExample = `
# Create a broker 'mybroker' in the current namespace
kn broker create mybroker
# Create a broker 'mybroker' in the 'myproject' namespace
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 e077652

Please sign in to comment.