When serializing a stacktrace we should elide frames as needed to avoid exceeding the maximum Kakfa message size