Skip to content

Commit

Permalink
Add RequestAck to config (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Philippe Melanson authored and evalphobia committed Jul 11, 2019
1 parent 3ed94e9 commit ad7ec27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type Config struct {
AsyncConnect bool
MarshalAsJSON bool
SubSecondPrecision bool
RequestAck bool
}

// FluentConfig converts data to fluent.Config.
Expand All @@ -49,5 +50,6 @@ func (c Config) FluentConfig() fluent.Config {
Async: c.AsyncConnect,
MarshalAsJSON: c.MarshalAsJSON,
SubSecondPrecision: c.SubSecondPrecision,
RequestAck: c.RequestAck,
}
}

0 comments on commit ad7ec27

Please sign in to comment.