Class ConsumerDeserializer<K,V>

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<org.apache.kafka.clients.consumer.Consumer<K,V>>
com.arpnetworking.metrics.common.kafka.ConsumerDeserializer<K,V>
Type Parameters:
K - the type of key field in Consumer
V - the type of value field in Consumer
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider

public class ConsumerDeserializer<K,V> extends com.fasterxml.jackson.databind.JsonDeserializer<org.apache.kafka.clients.consumer.Consumer<K,V>>
Jackson JsonDeserializer implementation for Consumer.
Author:
Joey Jackson (jjackson at dropbox dot com)
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer

    com.fasterxml.jackson.databind.JsonDeserializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.kafka.clients.consumer.Consumer<K,V>
    deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context)
     

    Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer

    deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConsumerDeserializer

      public ConsumerDeserializer()
  • Method Details

    • deserialize

      public org.apache.kafka.clients.consumer.Consumer<K,V> deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
      Specified by:
      deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<org.apache.kafka.clients.consumer.Consumer<K,V>>
      Throws:
      IOException
      com.fasterxml.jackson.core.JsonProcessingException