Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
travisjeffery committed Sep 18, 2017
1 parent baf2c05 commit 19e71e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sarama/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func setup() func() {
}

// creating/deleting topic directly since Sarama doesn't support it
if err := store.CreateTopic(topic, numPartitions); err != nil && err != broker.ErrTopicExists {
if err := store.CreateTopic(topic, numPartitions, 1); err != nil && err != broker.ErrTopicExists {
panic(err)
}

Expand Down

0 comments on commit 19e71e4

Please sign in to comment.