Aiven-Open / Aiven-Open/jdbc-connector-for-apache-kafka

Unexpected end-of-input: expected close marker for Object

Open
#240 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
113
Forks
62
Avg merge
4h 12m
Merged PRs (30d)
1

Description

submitted this json.
```
{
"schema": {
"type": "struct",
"fields": [
{
"type": "string",
"optional": true,
"field": "ip"
},
{
"type": "string",
"optional": false,
"field": "userid"
},
{
"type": "int64",
"optional": false,
"name": "org.apache.kafka.connect.data.Timestamp",
"version": 1,
"field": "time"
},
{
"type": "int64",
"optional": true,
"name": "org.apache.kafka.connect.data.Timestamp",
"version": 1,
"field": "_time"
},
{
"type": "string",
"optional": true,
"field": "request"
},
{
"type": "string",
"optional": true,
"field": "status"
},
{
"type": "int",
"optional": true,
"field": "bytes"
},
{
"type": "string",
"optional": true,
"field": "referrer"
},
{
"type": "string",
"optional": true,
"field": "agent"
}
],
"optional": false,
"name": "somerecord"
},
"payload": {
"ip": "122.152.45.245",
"userid": 9,
"time": "5631",
"_time": 5631,
"request": "GET /site/user_status.html HTTP/1.1",
"status": "407",
"bytes": "278",
"referrer": "-",
"agent": "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
}
}
```

got the error.
```
Caused by: com.fasterxml.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (byte[])"{"; line: 1, column: 1])
at [Source: (byte[])"{"; line: 1, column: 2]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.