pl.allegro.tech.hermes.api.InconsistentMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-api Show documentation
Show all versions of hermes-api Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.api;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class InconsistentMetadata {
private final String datacenter;
private final String content;
@JsonCreator
public InconsistentMetadata(@JsonProperty("datacenter") String datacenter,
@JsonProperty("content") String content) {
this.datacenter = datacenter;
this.content = content;
}
public String getDatacenter() {
return datacenter;
}
public String getContent() {
return content;
}
}