Well, as we discussed in Tarantool-ru telegram chat, this approach could lead to use-after-free (https://pgl.yoyo.org/luai/i/lua_tolstring) Maybe we should use [luaL_ref](https://pgl.yoyo.org/luai/i/luaL_ref)/[luaL_unref](https://pgl.yoyo.org/luai/i/luaL_unref) here. Also it would be great to add a test for such case. _Originally posted by @olegrok in https://github.com/tarantool/kafka/pull/22#r441402252_