org.apache.gearpump.streaming.kafka.lib
kafka consumer config
a list of kafka consumer topics
org.apache.gearpump.streaming.kafka.lib.consumer.FetchThread will sleep for a while if no more messages or the incoming queue size is above the FETCH_THRESHOLD this is to get sleep interval
org.apache.gearpump.streaming.kafka.lib.consumer.FetchThread will sleep for a while if no more messages or the incoming queue size is above the FETCH_THRESHOLD this is to get sleep interval
sleep interval in milliseconds
org.apache.gearpump.streaming.kafka.lib.consumer.FetchThread stops fetching new messages if its incoming queue size is above the threshold and starts again when the queue size is below it
org.apache.gearpump.streaming.kafka.lib.consumer.FetchThread stops fetching new messages if its incoming queue size is above the threshold and starts again when the queue size is below it
fetch threshold
get org.apache.gearpump.streaming.kafka.lib.grouper.KafkaGrouper instance, whose corresponding org.apache.gearpump.streaming.kafka.lib.grouper.KafkaGrouper defines how kafka.common.TopicAndPartitions are mapped to source tasks
get org.apache.gearpump.streaming.kafka.lib.grouper.KafkaGrouper instance, whose corresponding org.apache.gearpump.streaming.kafka.lib.grouper.KafkaGrouper defines how kafka.common.TopicAndPartitions are mapped to source tasks
set kafka consumer topics
set kafka consumer topics
comma-separated string
new KafkaConfig based on this but with CONSUMER_TOPICS set to given value
org.apache.gearpump.streaming.kafka.lib.consumer.FetchThread will sleep for a while if no more messages or the incoming queue size is above the FETCH_THRESHOLD this is to set sleep interval
org.apache.gearpump.streaming.kafka.lib.consumer.FetchThread will sleep for a while if no more messages or the incoming queue size is above the FETCH_THRESHOLD this is to set sleep interval
sleep interval in milliseconds
new KafkaConfig based on this but with FETCH_SLEEP_MS set to given value
org.apache.gearpump.streaming.kafka.lib.consumer.FetchThread stops fetching new messages if its incoming queue size is above the threshold and starts again when the queue size is below it
org.apache.gearpump.streaming.kafka.lib.consumer.FetchThread stops fetching new messages if its incoming queue size is above the threshold and starts again when the queue size is below it
queue size
new KafkaConfig based on this but with FETCH_THRESHOLD set to give value
set org.apache.gearpump.streaming.kafka.lib.grouper.KafkaGrouper, whose corresponding org.apache.gearpump.streaming.kafka.lib.grouper.KafkaGrouper defines how kafka.common.TopicAndPartitions are mapped to source tasks
set org.apache.gearpump.streaming.kafka.lib.grouper.KafkaGrouper, whose corresponding org.apache.gearpump.streaming.kafka.lib.grouper.KafkaGrouper defines how kafka.common.TopicAndPartitions are mapped to source tasks
name of the factory class
new KafkaConfig based on this but with GROUPER_CLASS set to given value
this class extends kafka ConsumerConfig with specific configs for org.apache.gearpump.streaming.kafka.KafkaSource