Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet committed Dec 1, 2020
1 parent 7e23a68 commit f091588
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pulsar/producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ type ProducerOptions struct {
// MaxReconnectToBroker set the maximum retry number of reconnectToBroker. (default: ultimate)
MaxReconnectToBroker *uint

// BatcherBuilderType sets the batch builder type (default DefaultBatchBuilder)
// This will be used to create batch container when batching is enabled.
// Options:
// - DefaultBatchBuilder
// - KeyBasedBatchBuilder
BatcherBuilderType
}

Expand Down

0 comments on commit f091588

Please sign in to comment.