io.github.springwolf.asyncapi.v3.bindings.kafka.KafkaChannelTopicCleanupPolicy 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.kafka;
public enum KafkaChannelTopicCleanupPolicy {
COMPACT("compact"),
DELETE("delete");
public final String type;
KafkaChannelTopicCleanupPolicy(String type) {
this.type = type;
}
public static KafkaChannelTopicCleanupPolicy fromString(String type) {
return valueOf(type.toUpperCase());
}
@Override
public String toString() {
return this.type;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy