xyz.block.ftl.deployment.TopicsBuildItem Maven / Gradle / Ivy
package xyz.block.ftl.deployment;
import java.util.HashMap;
import java.util.Map;
import org.jboss.jandex.DotName;
import org.jboss.jandex.Type;
import io.quarkus.builder.item.SimpleBuildItem;
public final class TopicsBuildItem extends SimpleBuildItem {
final Map topics;
public TopicsBuildItem(Map topics) {
this.topics = new HashMap<>(topics);
}
public Map getTopics() {
return topics;
}
public record DiscoveredTopic(String topicName, String generatedProducer, Type eventType, boolean exported) {
}
}