@Target(value={})
@Retention(value=RUNTIME)
public @interface TopicPartition
KafkaListener.| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
topic
The topic to listen on.
|
| Modifier and Type | Optional Element and Description |
|---|---|
PartitionOffset[] |
partitionOffsets
The partitions with initial offsets within the topic.
|
java.lang.String[] |
partitions
The partitions within the topic.
|
public abstract java.lang.String topic
public abstract java.lang.String[] partitions
partitionOffsets().public abstract PartitionOffset[] partitionOffsets
partitions().PartitionOffset array.