Package xyz.block.ftl
Annotation Topic
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Retention(value = RetentionPolicy.RUNTIME)@Target(value = ElementType.TYPE) public @interface Topic
-
-
Method Summary
Modifier and Type Method Description abstract Stringname()abstract Stringmodule()abstract intpartitions()-
-
Method Detail
-
module
abstract String module()
- Returns:
The module that the topic is defined in. If not specified, the current module is assumed.
-
partitions
abstract int partitions()
- Returns:
The number of partitions for the topic.
-
-
-
-