-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding maxBytesPerTrigger tag for Pulsar Admission Control (#151)
* init * correcting bytesLeftInLedger calculation * adding check for startoffset * adminUrl correction * only MessageId is null tests failing * adding pulsaroption * test case * moving functionality to PulsarHelper * feedback and refactoring * feedback * dealing with startLedgerId == ledger.id * fix * check readLimit greater than 0 * early return if readLimitLeft == 0 * increasing processing time * removing unnecessary code * checking if consumer is connected + pulsaradmissionhelper * putting latestOffsetForTopic in AdmissionControlHelper * added more tests for admission control * changing where pulsarAdmin is set * test where we add a new topic partition after stream has started * fetchlatest -> gettopicpartitions * more tests * changing AddPulsarDataWithPartition from Set(topic) -> topic * adding test case concurrent topic writes * changing getAdminUrl and reducing offsets, startpartitionoffsets redundancy * setting partition index in messageId correctly * removing info logs * removing maxEntriesPerLedger option * adding maxEntriesPerLedger in test * maxEntriesPerLedger works * spacing * checking numInputRows per microbatch in query * removing exact checklastbatch * updating README * updating readme * changing admin.url in readme * build errors
- Loading branch information
Showing
9 changed files
with
553 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.