minor changes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
e43584ed6d
commit
be1c68e6a5
2
util.go
2
util.go
@ -15,7 +15,7 @@ var ErrLostMessage = errors.New("message not marked for offsets commit and will
|
|||||||
|
|
||||||
var pPool = sync.Pool{
|
var pPool = sync.Pool{
|
||||||
New: func() interface{} {
|
New: func() interface{} {
|
||||||
return &publication{msg: &broker.Message{}}
|
return &publication{msg: broker.NewMessage("")}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user