From be1c68e6a5e65c253fd775a37ac22ebbd644c15e Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Thu, 23 Sep 2021 08:03:14 +0300 Subject: [PATCH] minor changes Signed-off-by: Vasiliy Tolstov --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.go b/util.go index f7b549a..a9bc800 100644 --- a/util.go +++ b/util.go @@ -15,7 +15,7 @@ var ErrLostMessage = errors.New("message not marked for offsets commit and will var pPool = sync.Pool{ New: func() interface{} { - return &publication{msg: &broker.Message{}} + return &publication{msg: broker.NewMessage("")} }, }