| Package | Description |
|---|---|
| org.apache.flink.batch.connectors.pulsar |
| Modifier and Type | Method and Description |
|---|---|
static Collection<InputLedger> |
SplitUtils.getLedgersInBetween(String topic,
org.apache.pulsar.client.impl.MessageIdImpl start,
org.apache.pulsar.client.impl.MessageIdImpl end,
CachedClients cachedClients) |
static List<List<InputLedger>> |
SplitUtils.partitionToNSplits(List<InputLedger> ledgers,
int parallelism)
Best effort partitioning based on ledger size (use backtracking method).
|
| Modifier and Type | Method and Description |
|---|---|
int |
InputLedger.compareTo(InputLedger o) |
| Modifier and Type | Method and Description |
|---|---|
protected PulsarInputSplit |
PulsarInputFormat.genSplit(int index,
List<InputLedger> ledgers) |
static List<List<InputLedger>> |
SplitUtils.partitionToNSplits(List<InputLedger> ledgers,
int parallelism)
Best effort partitioning based on ledger size (use backtracking method).
|
static long |
SplitUtils.sizeOfLedgerList(List<InputLedger> ledgers) |
| Constructor and Description |
|---|
InputSplitReader(ConnectorConfig connectorConfig,
int partitionId,
List<InputLedger> ledgersToRead) |
Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.