Class TopicPartitionSerializer


  • public class TopicPartitionSerializer
    extends Object
    • Constructor Detail

      • TopicPartitionSerializer

        public TopicPartitionSerializer()
    • Method Detail

      • toMap

        public Map<String,​Object> toMap​(org.apache.kafka.common.TopicPartition topicPartition)
        Serializes the given TopicPartition to Map so Trident can serialize it to JSON.