Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package kafka.log.streamaspect;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.slf4j.Logger;
Expand All @@ -31,6 +32,7 @@
/**
* logical meta data for a Kafka topicPartition.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ElasticLogMeta {
private static final Logger LOGGER = org.slf4j.LoggerFactory.getLogger(ElasticLogMeta.class);
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package kafka.log.streamaspect;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
Expand All @@ -27,6 +28,7 @@
/**
* Partition dimension metadata, record the recover checkpoint, clean offset...
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ElasticPartitionMeta {
/**
* The start offset of this topicPartition.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@

package kafka.log.streamaspect;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import kafka.log.TimestampOffset;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ElasticStreamSegmentMeta {
/**
* base offset of the segment.
Expand Down