A B C D F G H I K M P R S W 

A

addTopicPartition(String, int) - Method in interface co.cask.hydrator.plugin.realtime.KafkaConsumerConfigurer
Adds a topic partition to consume message from.
addTopicPartition(String, int, int) - Method in interface co.cask.hydrator.plugin.realtime.KafkaConsumerConfigurer
Adds a topic partition to consumer message from, using the given fetch size for each fetch request.

B

byteBufferToStructuredRecord(String, ByteBuffer) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
 
byteBufferToStructuredRecord(String, ByteBuffer) - Method in class co.cask.hydrator.plugin.realtime.KafkaSource
Convert Apache Kafka ByteBuffer from message into CDAP StructuredRecord instance.

C

co.cask.hydrator.plugin.realtime - package co.cask.hydrator.plugin.realtime
 
configureKafka(KafkaConfigurer) - Method in class co.cask.hydrator.plugin.realtime.Kafka08SimpleApiConsumer
 
configureKafka(KafkaConfigurer) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Configure Kafka consumer.
configurePipeline(PipelineConfigurer) - Method in class co.cask.hydrator.plugin.realtime.KafkaProducer
 
configurePipeline(PipelineConfigurer) - Method in class co.cask.hydrator.plugin.realtime.KafkaSource
 

D

decodeKey(ByteBuffer) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Override this method to provide custom decoding of a message key.
decodePayload(ByteBuffer) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Override this method to provide custom decoding of a message payload.
DEFAULT_FETCH_SIZE - Static variable in interface co.cask.hydrator.plugin.realtime.KafkaConsumerConfigurer
Default message fetch size in bytes when making Kafka fetch request.
destroy() - Method in class co.cask.hydrator.plugin.realtime.Kafka08SimpleApiConsumer
 
destroy() - Method in class co.cask.hydrator.plugin.realtime.KafkaProducer
 
destroy() - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Should be called for clean up.

F

FORMAT - Static variable in class co.cask.hydrator.plugin.realtime.KafkaSource
 

G

getBeginOffset(TopicPartition) - Method in class co.cask.hydrator.plugin.realtime.Kafka08SimpleApiConsumer
 
getBeginOffset(TopicPartition) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Returns the read offsets to start with for the given TopicPartition.
getBrokers() - Method in class co.cask.hydrator.plugin.realtime.KafkaConfig
Returns brokers information
getConfig() - Method in class co.cask.hydrator.plugin.realtime.KafkaSource
Get the internal config instance.
getDefaultOffset(TopicPartition) - Method in class co.cask.hydrator.plugin.realtime.Kafka08SimpleApiConsumer
 
getDefaultOffset(TopicPartition) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Returns the default value of offset to start with when encounter a new broker for a given topic partition.
getDefaultOffset() - Method in class co.cask.hydrator.plugin.realtime.KafkaSource.KafkaPluginConfig
 
getFetchSize() - Method in class co.cask.hydrator.plugin.realtime.KafkaConsumerInfo
 
getKafkaBrokers() - Method in class co.cask.hydrator.plugin.realtime.KafkaSource.KafkaPluginConfig
 
getKafkaConfig() - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Returns a Kafka configuration.
getKey() - Method in class co.cask.hydrator.plugin.realtime.KafkaMessage
 
getName() - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
 
getNextOffset() - Method in class co.cask.hydrator.plugin.realtime.KafkaMessage
 
getOffsetStore() - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
 
getPartitions() - Method in class co.cask.hydrator.plugin.realtime.KafkaSource.KafkaPluginConfig
 
getPayload() - Method in class co.cask.hydrator.plugin.realtime.KafkaMessage
 
getReadOffset() - Method in class co.cask.hydrator.plugin.realtime.KafkaConsumerInfo
 
getSavedState() - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
 
getStoreKey(TopicPartition) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Returns the key to be used when persisting offsets into the SourceState.
getTopic() - Method in class co.cask.hydrator.plugin.realtime.KafkaSource.KafkaPluginConfig
 
getTopicPartition() - Method in class co.cask.hydrator.plugin.realtime.KafkaConsumerInfo
 
getTopicPartition() - Method in class co.cask.hydrator.plugin.realtime.KafkaMessage
 
getZkConnect() - Method in class co.cask.hydrator.plugin.realtime.KafkaSource.KafkaPluginConfig
 
getZookeeper() - Method in class co.cask.hydrator.plugin.realtime.KafkaConfig
Returns the ZooKeeper connection string or null.

H

hasPendingChanges() - Method in class co.cask.hydrator.plugin.realtime.KafkaConsumerInfo
 

I

initialize(RealtimeContext) - Method in class co.cask.hydrator.plugin.realtime.Kafka08SimpleApiConsumer
 
initialize(RealtimeContext) - Method in class co.cask.hydrator.plugin.realtime.KafkaProducer
 
initialize(RealtimeContext) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
The method should be called to initialized the consumer when being used by the RealtimeSource
initialize(RealtimeContext) - Method in class co.cask.hydrator.plugin.realtime.KafkaSource
 

K

Kafka08SimpleApiConsumer - Class in co.cask.hydrator.plugin.realtime
The KafkaSimpleApiConsumer compatible mode for Kafka 0.8.x releases.
Kafka08SimpleApiConsumer(KafkaSource) - Constructor for class co.cask.hydrator.plugin.realtime.Kafka08SimpleApiConsumer
 
KAFKA_BROKERS - Static variable in class co.cask.hydrator.plugin.realtime.KafkaSource
 
KAFKA_INITIAL_OFFSET - Static variable in class co.cask.hydrator.plugin.realtime.KafkaSource
 
KAFKA_PARTITIONS - Static variable in class co.cask.hydrator.plugin.realtime.KafkaSource
 
KAFKA_TOPIC - Static variable in class co.cask.hydrator.plugin.realtime.KafkaSource
 
KAFKA_ZOOKEEPER - Static variable in class co.cask.hydrator.plugin.realtime.KafkaSource
 
KafkaBrokerConfigurer - Interface in co.cask.hydrator.plugin.realtime
This class is for configuring Kafka broker information for KafkaSimpleApiConsumer.
KafkaConfig - Class in co.cask.hydrator.plugin.realtime
Contains information about Kafka cluster as configured by user.
KafkaConfig(String, String) - Constructor for class co.cask.hydrator.plugin.realtime.KafkaConfig
 
KafkaConfigurer - Interface in co.cask.hydrator.plugin.realtime
This class is for configuring both Kafka broker and consumer information for KafkaSimpleApiConsumer.
KafkaConsumerConfigurer - Interface in co.cask.hydrator.plugin.realtime
This class is for configuring Kafka consumer information for KafkaSimpleApiConsumer.
KafkaConsumerInfo<OFFSET> - Class in co.cask.hydrator.plugin.realtime
Helper class to carry information about a Kafka consumer of a particular topic partition.
KafkaConsumerInfo(TopicPartition, int, OFFSET) - Constructor for class co.cask.hydrator.plugin.realtime.KafkaConsumerInfo
 
KafkaMessage<OFFSET> - Class in co.cask.hydrator.plugin.realtime
Represents a Kafka message.
KafkaMessage(TopicPartition, OFFSET, ByteBuffer, ByteBuffer) - Constructor for class co.cask.hydrator.plugin.realtime.KafkaMessage
 
KafkaProducer - Class in co.cask.hydrator.plugin.realtime
Implementation of Kafka Realtime Producer Hydrator plugin.
KafkaProducer(KafkaProducer.Config) - Constructor for class co.cask.hydrator.plugin.realtime.KafkaProducer
 
KafkaProducer.Config - Class in co.cask.hydrator.plugin.realtime
Kafka Producer Configuration.
KafkaProducer.Config(String, String, String, String, String, String) - Constructor for class co.cask.hydrator.plugin.realtime.KafkaProducer.Config
 
KafkaSimpleApiConsumer<KEY,PAYLOAD,OFFSET> - Class in co.cask.hydrator.plugin.realtime
Wrapper class for Apache Kafka consumer using the simple APIs to manage the last offset for a particular partition of a topic.
KafkaSimpleApiConsumer(KafkaSource) - Constructor for class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
 
kafkaSource - Variable in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
 
KafkaSource - Class in co.cask.hydrator.plugin.realtime
Implementation of RealtimeSource that reads data from Kafka API and emit ByteBuffer as the output via Emitter.
KafkaSource(KafkaSource.KafkaPluginConfig) - Constructor for class co.cask.hydrator.plugin.realtime.KafkaSource
Default constructor.
KafkaSource.KafkaPluginConfig - Class in co.cask.hydrator.plugin.realtime
Helper class to provide PluginConfig for KafkaSource.
KafkaSource.KafkaPluginConfig(String, String, Integer, String, Long, String, String) - Constructor for class co.cask.hydrator.plugin.realtime.KafkaSource.KafkaPluginConfig
 
KEY - Static variable in class co.cask.hydrator.plugin.realtime.KafkaSource
 

M

MESSAGE - Static variable in class co.cask.hydrator.plugin.realtime.KafkaSource
 

P

poll(Emitter<StructuredRecord>, SourceState) - Method in class co.cask.hydrator.plugin.realtime.KafkaSource
 
pollMessages(Emitter<StructuredRecord>) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Will be called by external source to start poll the Kafka messages one at the time.
processMessage(String, ByteBuffer, Emitter<StructuredRecord>) - Method in class co.cask.hydrator.plugin.realtime.Kafka08SimpleApiConsumer
 
processMessage(ByteBuffer, Emitter<StructuredRecord>) - Method in class co.cask.hydrator.plugin.realtime.Kafka08SimpleApiConsumer
 
processMessage(KafkaMessage<OFFSET>, Emitter<StructuredRecord>) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Overrides this method if interested in the raw Kafka message.
processMessage(KEY, PAYLOAD, Emitter<StructuredRecord>) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Override this method if interested in both the key and payload of a message read from Kafka.
processMessage(PAYLOAD, Emitter<StructuredRecord>) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Override this method if only interested in the payload of a message read from Kafka.

R

readMessages(KafkaConsumerInfo<Long>) - Method in class co.cask.hydrator.plugin.realtime.Kafka08SimpleApiConsumer
 
readMessages(KafkaConsumerInfo<OFFSET>) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Read messages from Kafka.

S

saveReadOffsets(Map<TopicPartition, Long>) - Method in class co.cask.hydrator.plugin.realtime.Kafka08SimpleApiConsumer
 
saveReadOffsets(Map<TopicPartition, OFFSET>) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Persists read offsets for all topic-partition that this Flowlet consumes from Kafka.
saveState(SourceState) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Set the internal state for the Topic partition.
SCHEMA - Static variable in class co.cask.hydrator.plugin.realtime.KafkaSource
 
setBrokers(String) - Method in interface co.cask.hydrator.plugin.realtime.KafkaBrokerConfigurer
Sets the Kafka broker list.
setReadOffset(OFFSET) - Method in class co.cask.hydrator.plugin.realtime.KafkaConsumerInfo
 
setZooKeeper(String) - Method in interface co.cask.hydrator.plugin.realtime.KafkaBrokerConfigurer
Sets the ZooKeeper quorum string that Kafka is running with.
SO_TIMEOUT - Static variable in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
 
stopService(Service) - Method in class co.cask.hydrator.plugin.realtime.KafkaSimpleApiConsumer
Stops a Service and waits for the completion.

W

write(Iterable<StructuredRecord>, DataWriter) - Method in class co.cask.hydrator.plugin.realtime.KafkaProducer
 
A B C D F G H I K M P R S W 

Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.