# Logstash Kafka Input: divided message received

**URL:** <https://discuss.elastic.co/t/logstash-kafka-input-divided-message-received/208705>\
**Category:** Logstash\
**Created:** [November 20, 2019, 1:35pm UTC](https://discuss.elastic.co/t/logstash-kafka-input-divided-message-received/208705 "2019-11-20T13:35:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaypark81](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaypark81/32/58030_2.png) [@jaypark81](https://discuss.elastic.co/u/jaypark81)\
**Post date:** [November 20, 2019, 1:35pm UTC](https://discuss.elastic.co/t/logstash-kafka-input-divided-message-received/208705/1 "2019-11-20T13:35:07Z")

</div>

Hello,

I have a question for Logstash Kafka input.

Here are versions for what I use:  
Elasticsearch: 7.3.2  
Logstash version: 7.2.1  
Kafka version: 2.1.0

Here is input configuration of Logstash:

```
input {
  kafka {
    bootstrap_servers => "Kafka_SERVER:9092"
    topics => ["TOPIC"]
    codec => "json"
    group_id => "staging"
    consumer_threads => 4
    type => "mysql"
    }
  }

```

Here is my question:  
Sometimes, we receives "partial" message like

> }}

or

> ser":"root[root] @ [127.0.0.1]","host":"","os\_user":"","ip":"127.0.0.1","db":""}}

Even, no ERROR found in debug mode.  
And I cannot find first part of the log (If the log was divided in some reason then we must have all parts) .

I supposed we received JSON format message.

To test configuration, I added this configuration:  
fetch\_max\_bytes =\> "52428800"  
max\_partition\_fetch\_bytes =\> "104857600"  
max\_poll\_records =\> "200"

But, it didn't work.  
What can I check more to fix this issue?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 18, 2019, 1:35pm UTC](https://discuss.elastic.co/t/logstash-kafka-input-divided-message-received/208705/2 "2019-12-18T13:35:09Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
