|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface KafkaConsumerConfigurer
This class is for configuring Kafka consumer information for KafkaConsumerFlowlet.
| Field Summary | |
|---|---|
static int |
DEFAULT_FETCH_SIZE
Default message fetch size in bytes when making Kafka fetch request. |
| Method Summary | |
|---|---|
void |
addTopicPartition(String topic,
int partition)
Adds a topic partition to consume message from. |
void |
addTopicPartition(String topic,
int partition,
int fetchSize)
Adds a topic partition to consumer message from, using the given fetch size for each fetch request. |
| Field Detail |
|---|
static final int DEFAULT_FETCH_SIZE
| Method Detail |
|---|
void addTopicPartition(String topic,
int partition)
addTopicPartition(topic, partition, DEFAULT_FETCH_SIZE)
topic - name of the Kafka topicpartition - partition number
void addTopicPartition(String topic,
int partition,
int fetchSize)
topic - name of the Kafka topicpartition - partition numberfetchSize - maximum number of bytes to fetch per request
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||