io.github.springwolf.asyncapi.v3.bindings.pulsar.PulsarRetention Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of springwolf-asyncapi Show documentation
Show all versions of springwolf-asyncapi Show documentation
Springwolf implementation of the AsyncApi specification
// SPDX-License-Identifier: Apache-2.0
package io.github.springwolf.asyncapi.v3.bindings.pulsar;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* The Retention Definition Object is used to describe the Pulsar Retention policy.
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class PulsarRetention {
/**
* Time given in Minutes.
*/
@Builder.Default
@JsonProperty("time")
private Integer time = 0;
/**
* Size given in MegaBytes.
*/
@Builder.Default
@JsonProperty("size")
private Integer size = 0;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy