- Add
ForceStopAsyncSend
to stop asynchronous message transferring immediately whenclose()
called - Fix to lock connections only when needed
- Fix a bug to panic for closing nil connection
- Add
RequestAck
to enable at-least-once message transferring - Add
Async
option to update sending message in asynchronous way - Deprecate
AsyncConnect
(UseAsync
instead)
- Add
SubSecondPrecision
option to handle Fluentd v0.14 (and v1) sub-second EventTime (default: false) - Add
WriteTimeout
option - Fix API of
Post
to acceptmsgp.Marshaler
objects for better performance
- Fix a bug not to reconnect to destination twice or more
- Fix to connect on background goroutine in async mode
- Add
MarshalAsJSON
feature formessage
objects which can be marshaled as JSON - Fix a bug to panic for destination system outage
- Add support for unix domain socket
- Add asynchronous client creation
- Fix API of
Post
andPostWithTime
to return error when encoding - Add argument checks to get
map
with string keys andstruct
only - Logger refers tags (
msg
orcodec
) of fields of struct
- Change dependency from ugorji/go/codec to tinylib/msgp
- Add
PostRawData
method to post pre-encoded data to servers
- Lock when writing pending buffers (Thanks @eagletmt)
- Add TagPrefix in Config (Thanks @hotchpotch)
- Fixes runtime error of close function.(Thanks @y-matsuwitter)
- Added method PostWithTime(Thanks [@choplin])
- Use sync.Mutex
- Fix BufferLimit comparison
- Export toMsgpack function to utils.go
- Remove unused fmt.Println
- Update msgpack library ("github.com/ugorji/go-msgpack" -> "github.com/ugorji/go/codec")