pl.allegro.tech.hermes.common.message.wrapper.AvroMessageContentUnwrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-common Show documentation
Show all versions of hermes-common Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.common.message.wrapper;
import jakarta.annotation.Nullable;
import pl.allegro.tech.hermes.api.Topic;
interface AvroMessageContentUnwrapper {
AvroMessageContentUnwrapperResult unwrap(byte[] data, Topic topic, @Nullable Integer headerId, @Nullable Integer headerVersion);
boolean isApplicable(byte[] data, Topic topic, Integer schemaId, Integer schemaVersion);
}