Skip to content

Commit

Permalink
Merge pull request #906 from makkes/master
Browse files Browse the repository at this point in the history
closes #854 clear up doc confusion on producer config
  • Loading branch information
eapache authored Jun 30, 2017
2 parents f7e3024 + 42e8e51 commit b8b5009
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ type Config struct {
Partitioner PartitionerConstructor

// Return specifies what channels will be populated. If they are set to true,
// you must read from the respective channels to prevent deadlock.
// you must read from the respective channels to prevent deadlock. If,
// however, this config is used to create a `SyncProducer`, both must be set
// to true and you shall not read from the channels since the producer does
// this internally.
Return struct {
// If enabled, successfully delivered messages will be returned on the
// Successes channel (default disabled).
Expand Down

0 comments on commit b8b5009

Please sign in to comment.