K - the type parameterV - the type parameterpublic class KafkaCommittingTap<K,V> extends KafkaTap<K,V>
if the flow failed, the failed record will be the next record to read on that given partition.
CONSUME_AUTO_COMMIT_EARLIEST, CONSUME_AUTO_COMMIT_LATEST, DEFAULT_NUM_PARTITIONS, DEFAULT_POLL_TIMEOUT, DEFAULT_REPLICATION_FACTOR, PRODUCE_ACK_ALL_NO_RETRY| Constructor and Description |
|---|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
long pollTimeout,
int numPartitions,
short replicationFactor,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
long pollTimeout,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
java.lang.String clientID,
long pollTimeout,
int numPartitions,
short replicationFactor,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
java.lang.String clientID,
long pollTimeout,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
java.lang.String clientID,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
int numPartitions,
short replicationFactor)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
long pollTimeout)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
long pollTimeout,
int numPartitions,
short replicationFactor)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID,
int numPartitions,
short replicationFactor)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID,
long pollTimeout)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID,
long pollTimeout,
int numPartitions,
short replicationFactor)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID,
java.lang.String groupID)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
int numPartitions,
short replicationFactor,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
long pollTimeout,
int numPartitions,
short replicationFactor,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
long pollTimeout,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
java.lang.String clientID,
int numPartitions,
short replicationFactor,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
java.lang.String clientID,
long pollTimeout,
int numPartitions,
short replicationFactor,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
java.lang.String clientID,
long pollTimeout,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
java.lang.String clientID,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.lang.String hostname,
java.lang.String clientID,
java.lang.String groupID,
long pollTimeout,
int numPartitions,
short replicationFactor,
java.lang.String... topics)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
int numPartitions,
short replicationFactor)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
long pollTimeout)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
long pollTimeout,
int numPartitions,
short replicationFactor)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID,
int numPartitions,
short replicationFactor)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID,
long pollTimeout)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID,
long pollTimeout,
int numPartitions,
short replicationFactor)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID,
java.lang.String groupID)
Instantiates a new Committing kafka tap.
|
KafkaCommittingTap(java.util.Properties defaultProperties,
KafkaScheme<K,V,?,?> scheme,
java.net.URI identifier,
java.lang.String clientID,
java.lang.String groupID,
long pollTimeout,
int numPartitions,
short replicationFactor)
Instantiates a new Committing kafka tap.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.kafka.clients.consumer.Consumer<K,V> |
createKafkaConsumer(java.util.Properties properties) |
applyTopics, createAdminClient, createResource, deleteResource, getClientID, getConsumerRebalanceListener, getGroupID, getHostname, getIdentifier, getModifiedTime, getTopics, isTopicPattern, makeURI, openForRead, openForWrite, postConsumerSubscribe, preConsumerSubscribe, resourceExistscommitResource, createResource, deleteResource, entryStream, entryStream, entryStreamCopy, entryStreamCopy, equals, flowConfInit, getConfigDef, getFullIdentifier, getFullIdentifier, getModifiedTime, getNodeConfigDef, getScheme, getSinkFields, getSinkMode, getSourceFields, getStepConfigDef, getTrace, hasConfigDef, hashCode, hasNodeConfigDef, hasStepConfigDef, id, isKeep, isReplace, isSink, isSource, isTemporary, isUpdate, openForRead, openForReadUnchecked, openForWrite, outgoingScopeFor, prepareResourceForRead, prepareResourceForWrite, presentSinkFields, presentSourceFields, resolveIncomingOperationArgumentFields, resolveIncomingOperationPassThroughFields, resourceExists, retrieveSinkFields, retrieveSourceFields, rollbackResource, setScheme, sinkConfInit, sourceConfInit, spliterator, splititerator, taps, toString, tupleStream, tupleStream, tupleStreamCopy, tupleStreamCopypublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.net.URI identifier)
defaultProperties - the default propertiesscheme - the schemeidentifier - the identifierpublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, long pollTimeout)
scheme - the schemeidentifier - the identifierpollTimeout - the poll timeoutpublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, int numPartitions, short replicationFactor)
scheme - the schemeidentifier - the identifiernumPartitions - the num partitionsreplicationFactor - the replication factorpublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, long pollTimeout, int numPartitions, short replicationFactor)
scheme - the schemeidentifier - the identifierpollTimeout - the poll timeoutnumPartitions - the num partitionsreplicationFactor - the replication factorpublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.net.URI identifier)
scheme - the schemeidentifier - the identifierpublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, long pollTimeout)
defaultProperties - the default propertiesscheme - the schemeidentifier - the identifierpollTimeout - the poll timeoutpublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, int numPartitions, short replicationFactor)
defaultProperties - the default propertiesscheme - the schemeidentifier - the identifiernumPartitions - the num partitionsreplicationFactor - the replication factorpublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, long pollTimeout, int numPartitions, short replicationFactor)
defaultProperties - the default propertiesscheme - the schemeidentifier - the identifierpollTimeout - the poll timeoutnumPartitions - the num partitionsreplicationFactor - the replication factorpublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID)
defaultProperties - the default propertiesscheme - the schemeidentifier - the identifierclientID - the client idpublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID, java.lang.String groupID)
defaultProperties - the default propertiesscheme - the schemeidentifier - the identifierclientID - the client idgroupID - the group idpublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID, long pollTimeout)
scheme - the schemeidentifier - the identifierclientID - the client idpollTimeout - the poll timeoutpublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID, int numPartitions, short replicationFactor)
scheme - the schemeidentifier - the identifierclientID - the client idnumPartitions - the num partitionsreplicationFactor - the replication factorpublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID, long pollTimeout, int numPartitions, short replicationFactor)
scheme - the schemeidentifier - the identifierclientID - the client idpollTimeout - the poll timeoutnumPartitions - the num partitionsreplicationFactor - the replication factorpublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID)
scheme - the schemeidentifier - the identifierclientID - the client idpublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID, java.lang.String groupID)
scheme - the schemeidentifier - the identifierclientID - the client idgroupID - the group idpublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID, long pollTimeout)
defaultProperties - the default propertiesscheme - the schemeidentifier - the identifierclientID - the client idpollTimeout - the poll timeoutpublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID, int numPartitions, short replicationFactor)
defaultProperties - the default propertiesscheme - the schemeidentifier - the identifierclientID - the client idnumPartitions - the num partitionsreplicationFactor - the replication factorpublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID, long pollTimeout, int numPartitions, short replicationFactor)
defaultProperties - the default propertiesscheme - the schemeidentifier - the identifierclientID - the client idpollTimeout - the poll timeoutnumPartitions - the num partitionsreplicationFactor - the replication factorpublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.net.URI identifier, java.lang.String clientID, java.lang.String groupID, long pollTimeout, int numPartitions, short replicationFactor)
defaultProperties - the default propertiesscheme - the schemeidentifier - the identifierclientID - the client idgroupID - the group idpollTimeout - the poll timeoutnumPartitions - the num partitionsreplicationFactor - the replication factorpublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, long pollTimeout, java.lang.String... topics)
scheme - the schemehostname - the hostnamepollTimeout - the poll timeouttopics - the topicspublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, long pollTimeout, int numPartitions, short replicationFactor, java.lang.String... topics)
scheme - the schemehostname - the hostnamepollTimeout - the poll timeoutnumPartitions - the num partitionsreplicationFactor - the replication factortopics - the topicspublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, int numPartitions, short replicationFactor, java.lang.String... topics)
defaultProperties - the default propertiesscheme - the schemehostname - the hostnamenumPartitions - the num partitionsreplicationFactor - the replication factortopics - the topicspublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, java.lang.String... topics)
defaultProperties - the default propertiesscheme - the schemehostname - the hostnametopics - the topicspublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, long pollTimeout, java.lang.String... topics)
defaultProperties - the default propertiesscheme - the schemehostname - the hostnamepollTimeout - the poll timeouttopics - the topicspublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, long pollTimeout, int numPartitions, short replicationFactor, java.lang.String... topics)
defaultProperties - the default propertiesscheme - the schemehostname - the hostnamepollTimeout - the poll timeoutnumPartitions - the num partitionsreplicationFactor - the replication factortopics - the topicspublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, java.lang.String clientID, java.lang.String... topics)
scheme - the schemehostname - the hostnameclientID - the client idtopics - the topicspublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, java.lang.String clientID, long pollTimeout, java.lang.String... topics)
scheme - the schemehostname - the hostnameclientID - the client idpollTimeout - the poll timeouttopics - the topicspublic KafkaCommittingTap(KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, java.lang.String clientID, long pollTimeout, int numPartitions, short replicationFactor, java.lang.String... topics)
scheme - the schemehostname - the hostnameclientID - the client idpollTimeout - the poll timeoutnumPartitions - the num partitionsreplicationFactor - the replication factortopics - the topicspublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, java.lang.String clientID, int numPartitions, short replicationFactor, java.lang.String... topics)
defaultProperties - the default propertiesscheme - the schemehostname - the hostnameclientID - the client idnumPartitions - the num partitionsreplicationFactor - the replication factortopics - the topicspublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, java.lang.String clientID, java.lang.String... topics)
defaultProperties - the default propertiesscheme - the schemehostname - the hostnameclientID - the client idtopics - the topicspublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, java.lang.String clientID, long pollTimeout, java.lang.String... topics)
defaultProperties - the default propertiesscheme - the schemehostname - the hostnameclientID - the client idpollTimeout - the poll timeouttopics - the topicspublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, java.lang.String clientID, long pollTimeout, int numPartitions, short replicationFactor, java.lang.String... topics)
defaultProperties - the default propertiesscheme - the schemehostname - the hostnameclientID - the client idpollTimeout - the poll timeoutnumPartitions - the num partitionsreplicationFactor - the replication factortopics - the topicspublic KafkaCommittingTap(java.util.Properties defaultProperties, KafkaScheme<K,V,?,?> scheme, java.lang.String hostname, java.lang.String clientID, java.lang.String groupID, long pollTimeout, int numPartitions, short replicationFactor, java.lang.String... topics)
defaultProperties - the default propertiesscheme - the schemehostname - the hostnameclientID - the client idgroupID - the group idpollTimeout - the poll timeoutnumPartitions - the num partitionsreplicationFactor - the replication factortopics - the topicsprotected org.apache.kafka.clients.consumer.Consumer<K,V> createKafkaConsumer(java.util.Properties properties)
createKafkaConsumer in class KafkaTap<K,V>Copyright © 2007-2021 Cascading Maintainers. All Rights Reserved.