All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.block.ftl.deployment.TopicsBuildItem Maven / Gradle / Ivy

There is a newer version: 0.398.1
Show newest version
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) {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy