Package | Description |
---|---|
org.nuxeo.importer.stream.automation | |
org.nuxeo.lib.stream.computation.log |
Computation pattern implemented with Log
|
org.nuxeo.lib.stream.log |
The Log interface with Chronicle and Kafka implementation.
|
org.nuxeo.lib.stream.log.chronicle | |
org.nuxeo.lib.stream.log.internals | |
org.nuxeo.lib.stream.log.kafka | |
org.nuxeo.lib.stream.pattern.consumer | |
org.nuxeo.lib.stream.pattern.consumer.internals |
Modifier and Type | Method and Description |
---|---|
void |
RandomDocumentProducers.onPartitionsAssigned(Collection<LogPartition> partitions) |
void |
RandomDocumentProducers.onPartitionsRevoked(Collection<LogPartition> partitions) |
Modifier and Type | Field and Description |
---|---|
protected List<List<LogPartition>> |
ComputationPool.defaultAssignments |
Modifier and Type | Method and Description |
---|---|
protected List<List<LogPartition>> |
LogStreamProcessor.getDefaultAssignments(ComputationMetadataMapping meta) |
Modifier and Type | Method and Description |
---|---|
void |
ComputationRunner.onPartitionsAssigned(Collection<LogPartition> partitions) |
void |
ComputationRunner.onPartitionsRevoked(Collection<LogPartition> partitions) |
Constructor and Description |
---|
ComputationPool(Supplier<Computation> supplier,
ComputationMetadataMapping metadata,
List<List<LogPartition>> defaultAssignments,
LogManager manager) |
ComputationRunner(Supplier<Computation> supplier,
ComputationMetadataMapping metadata,
List<LogPartition> defaultAssignment,
LogManager logManager) |
Modifier and Type | Method and Description |
---|---|
static LogPartition |
LogPartition.of(String name,
int partition) |
LogPartition |
LogOffset.partition()
Returns the tuple Log name and partition.
|
Modifier and Type | Method and Description |
---|---|
Collection<LogPartition> |
LogTailer.assignments()
Returns the list of Log name, partitions tuples currently assigned to this tailer.
|
Modifier and Type | Method and Description |
---|---|
LogOffset |
LogTailer.commit(LogPartition partition)
Commit current position for the partition.
|
default <M extends Externalizable> |
LogManager.createTailer(String group,
LogPartition partition)
Create a tailer for a consumer
group and assign a single partition . |
void |
LogTailer.reset(LogPartition partition)
Reset the committed position for this group on this partition, next read for this partition will be done from the
beginning.
|
Modifier and Type | Method and Description |
---|---|
<M extends Externalizable> |
LogManager.createTailer(String group,
Collection<LogPartition> partitions)
Create a tailer for a consumer
group and assign multiple partitions . |
void |
RebalanceListener.onPartitionsAssigned(Collection<LogPartition> partitions) |
void |
RebalanceListener.onPartitionsRevoked(Collection<LogPartition> partitions) |
Modifier and Type | Field and Description |
---|---|
protected LogPartition |
ChronicleLogTailer.partition |
Modifier and Type | Field and Description |
---|---|
protected List<LogPartition> |
ChronicleCompoundLogTailer.logPartitions |
Modifier and Type | Method and Description |
---|---|
Collection<LogPartition> |
ChronicleLogTailer.assignments() |
Collection<LogPartition> |
ChronicleCompoundLogTailer.assignments() |
Modifier and Type | Method and Description |
---|---|
LogOffset |
ChronicleLogTailer.commit(LogPartition partition) |
LogOffset |
ChronicleCompoundLogTailer.commit(LogPartition partition) |
LogTailer<M> |
ChronicleLogAppender.createTailer(LogPartition partition,
String group) |
void |
ChronicleLogTailer.reset(LogPartition partition) |
void |
ChronicleCompoundLogTailer.reset(LogPartition partition) |
Modifier and Type | Method and Description |
---|---|
protected <M extends Externalizable> |
ChronicleLogManager.doCreateTailer(Collection<LogPartition> partitions,
String group) |
Constructor and Description |
---|
ChronicleLogTailer(String basePath,
net.openhft.chronicle.queue.ExcerptTailer cqTailer,
LogPartition partition,
String group,
ChronicleRetentionDuration retention) |
Modifier and Type | Field and Description |
---|---|
protected LogPartition |
LogOffsetImpl.partition |
Modifier and Type | Method and Description |
---|---|
LogPartition |
LogOffsetImpl.partition() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractLogManager.checkInvalidAssignment(String group,
LogPartition partition) |
Modifier and Type | Method and Description |
---|---|
<M extends Externalizable> |
AbstractLogManager.createTailer(String group,
Collection<LogPartition> partitions) |
protected abstract <M extends Externalizable> |
AbstractLogManager.doCreateTailer(Collection<LogPartition> partitions,
String group) |
Constructor and Description |
---|
LogOffsetImpl(LogPartition partition,
long offset) |
LogPartitionGroup(String group,
LogPartition mqp) |
Modifier and Type | Field and Description |
---|---|
protected Collection<LogPartition> |
KafkaLogTailer.partitions |
Modifier and Type | Method and Description |
---|---|
Collection<LogPartition> |
KafkaLogTailer.assignments() |
protected static List<List<LogPartition>> |
KafkaUtils.assignments(org.apache.kafka.clients.consumer.internals.PartitionAssignor assignor,
int threads,
Map<String,Integer> streams) |
static List<List<LogPartition>> |
KafkaUtils.rangeAssignments(int threads,
Map<String,Integer> streams) |
static List<List<LogPartition>> |
KafkaUtils.roundRobinAssignments(int threads,
Map<String,Integer> streams) |
Modifier and Type | Method and Description |
---|---|
protected void |
KafkaLogManager.checkValidPartition(LogPartition partition) |
LogOffset |
KafkaLogTailer.commit(LogPartition partition) |
void |
KafkaLogTailer.reset(LogPartition partition) |
Modifier and Type | Method and Description |
---|---|
protected static String |
KafkaLogTailer.buildId(String group,
Collection<LogPartition> partitions) |
static <M extends Externalizable> |
KafkaLogTailer.createAndAssign(String prefix,
Collection<LogPartition> partitions,
String group,
Properties consumerProps) |
protected <M extends Externalizable> |
KafkaLogManager.doCreateTailer(Collection<LogPartition> partitions,
String group) |
Modifier and Type | Field and Description |
---|---|
protected List<List<LogPartition>> |
ConsumerPool.defaultAssignments |
Modifier and Type | Method and Description |
---|---|
protected List<List<LogPartition>> |
ConsumerPool.getDefaultAssignments() |
Modifier and Type | Method and Description |
---|---|
protected LogTailer<M> |
ConsumerRunner.createTailer(LogManager manager,
List<LogPartition> defaultAssignments) |
void |
ConsumerRunner.onPartitionsAssigned(Collection<LogPartition> partitions) |
void |
ConsumerRunner.onPartitionsRevoked(Collection<LogPartition> partitions) |
Constructor and Description |
---|
ConsumerRunner(ConsumerFactory<M> factory,
ConsumerPolicy policy,
LogManager manager,
List<LogPartition> defaultAssignments) |
Copyright © 2018 Nuxeo. All rights reserved.