title: **Plugging in Custom Serializer in Apache Ignite**
body: <p><strong>Plugging in Custom Serializer in Apache Ignite</strong></p>
  
  <p>I tried to add Kyro Serializer in the Binary Configuration bean  but at runtime it gave  me a class type conversion error.</p>
  
  <p>My Code is </p>
  
  <pre><code> &lt;property name="binaryConfiguration"&gt;
              &lt;bean class="org.apache.ignite.configuration.BinaryConfiguration"&gt;
                  &lt;property name="typeConfigurations"&gt;
                      &lt;list&gt;
                          &lt;bean class="org.apache.ignite.binary.BinaryTypeConfiguration"&gt;
                              &lt;property name="typeName" value="testPojo" /&gt;
                              &lt;property name="serializer"&gt;
                                  &lt;bean class="com.esotericsoftware.kryo.serializers.DefaultSerializers" /&gt;
                              &lt;/property&gt;
                          &lt;/bean&gt;
                      &lt;/list&gt;
                  &lt;/property&gt;
              &lt;/bean&gt;
          &lt;/property&gt;
  </code></pre>
  
  <p>Error Log is </p>
  
  <pre><code>Caused by: java.lang.IllegalStateException: Cannot convert value of type [com.esotericsoftware.kryo.serializers.DefaultSerializers] to required type [org.apache.ignite.binary.BinarySerializer] for property 'serializer': no matching editors or conversion strategy found
      at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:302)
      at org.springframework.beans.AbstractNestablePropertyAccessor.convertIfNecessary(AbstractNestablePropertyAccessor.java:576)
      ... 104 more
  </code></pre>
  
  <p>On digging in the Apache Ignite provided BinarySerializer, came to a conclusion that one has to write a custom implementation for the serializer as Other plugin Serializers to implement it.</p>
  
  <p>How is the Optimized Marshaller beneficial ?</p>