# Kafka input plugin serialization

**URL:** <https://discuss.elastic.co/t/kafka-input-plugin-serialization/194138>\
**Category:** Logstash\
**Created:** [August 7, 2019, 4:25am UTC](https://discuss.elastic.co/t/kafka-input-plugin-serialization/194138 "2019-08-07T04:25:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![real\_legend](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@real\_legend](https://discuss.elastic.co/u/real_legend)\
**Post date:** [August 7, 2019, 4:25am UTC](https://discuss.elastic.co/t/kafka-input-plugin-serialization/194138/1 "2019-08-07T04:25:23Z")

</div>

Hi there  
in docs i was readed that serialization method of kafka pulgin is `org.apache.kafka.common.serialization.Stringserializer` and  
`org.apache.kafka.common.serialization.StringDeserializer`  
i want to use some other methods like \*\* Apache Avro\*\* to compress (serialize and deserialize) data... and i am a python programmer (not java)

how can i change this default method?  
thanks

---

<div class="post-metadata">

**Author:** ![real\_legend](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@real\_legend](https://discuss.elastic.co/u/real_legend)\
**Post date:** [August 7, 2019, 5:24am UTC](https://discuss.elastic.co/t/kafka-input-plugin-serialization/194138/2 "2019-08-07T05:24:27Z")

</div>

another faq: can logstash7.3 and kafka input plugin support `org.apache.avro` ?

---

<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:** [September 4, 2019, 5:24am UTC](https://discuss.elastic.co/t/kafka-input-plugin-serialization/194138/3 "2019-09-04T05:24:28Z")

</div>

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