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

xyz.block.ftl.WriteableTopic Maven / Gradle / Ivy

package xyz.block.ftl;

/**
 * A concrete definition of a topic. Extend this interface and annotate with {@code @TopicDefinition} to define a topic,
 * then inject this into verb methods to publish to the topic.
 *
 * @param  The type of the event to be published
 * @param  The type of the partition mapper
 */
public interface WriteableTopic> extends ConsumableTopic {

    void publish(T object);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy