Skip to content

Conversation

@astubbs astubbs marked this pull request as draft December 7, 2020 20:38
@astubbs
Copy link
Contributor Author

astubbs commented Dec 7, 2020

This is a very large change to the way the system works, and affects a lot of tests. POC is done, but will take some time to polish it.

Tests

test

impl

More

Wip! Experiments in self tuning

Try to measure rate and do ... what?

Performance breakthrough - pressure system all the way back to the consumer

Remove old vars, docs

Progress bar refactor

Tidy up

Not sure the queue being empty means what I think it means. try loading thread instead

Dynamic loading factor

1mill

WIP! Encode offsets continuously to assess required space

Heavy docs and clarifications

Draft algo complete

More

More

Encoders, fix mock rebalancing

More

More

More

More - use info to stop more records

Move consumer back to PC wrapped for thread safety, so commits are in line with control

More

More

More - fix parameter naming

More naming and fix consumer locking

Conditions when no encoding is needed from registered useless continuous encoders - very large test passes

More - add work container epoch - ignore old fenced off work when partition assignment changes

More- have both old and new styles see the same data - results now equal

More efficient loop

Big change - stop using old find scan and use continuous instead

manageOffsetEncoderSpaceRequirements only once per batch

Encoders truncate and reinitialise themselves

Slow test

Run length continuous fixes

Truncate bitset correctly, disalbe/enable encoders as needed

Test fixes

Test fixes

RunLength V1 works

Fix sim encoder ignore base offset change

Wip! Fixing bitset

Fix highest seen record check

Fix bitset

More

More

Better tests

Draft test for offset back-pressure

More

More

More - OffsetEncodingBackPressureTest passes

Cleanup

Cleanup

More

Fix run length truncate function also O(n) to O(m)

Runlength encoding fix, trying v2

Run length offset pairs encoding

Run length offset pairs encoding

V2 more - test pass

More

Fix run length encoding for base != 0 and new base offsets beyond our run length

Segment, combine, extend

Collapsing up and down

Whops

3 tests left

Progress

Test fixes

So many tests are broken…
@astubbs astubbs force-pushed the master branch 4 times, most recently from e7c43c2 to 5c841c3 Compare March 30, 2021 10:24
astubbs and others added 28 commits October 12, 2022 12:32
…psm-and-ps

# Conflicts:
#	README.adoc
#	parallel-consumer-core/src/main/java/io/confluent/csid/utils/JavaUtils.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/OffsetMapCodecManager.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/state/PartitionState.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/state/PartitionStateManager.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/state/RemovedPartitionState.java
#	parallel-consumer-core/src/test-integration/java/io/confluent/parallelconsumer/integrationTests/state/PartitionStateCommittedOffsetIT.java
#	parallel-consumer-core/src/test/java/io/confluent/parallelconsumer/offsets/WorkManagerOffsetMapCodecManagerTest.java
#	parallel-consumer-core/src/test/java/io/confluent/parallelconsumer/state/PartitionStateCommittedOffsetTest.java
#	parallel-consumer-core/src/test/resources/logback-test.xml
# Conflicts:
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/BitSetEncodingNotSupportedException.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/ByteBufferEncoder.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/EncodedOffsetPair.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/EncodingNotSupportedException.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/NoEncodingPossibleException.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/OffsetEncoder.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/OffsetRunLength.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/OffsetSimpleSerialisation.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/OffsetSimultaneousEncoder.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/RunlengthV1EncodingNotSupported.java
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/state/PartitionState.java
…iremock fat dependency (slf4j/logback collisions)

Upgrades Wiremock from 2.33.2 to 2.34.0
@eddyv
Copy link
Member

eddyv commented Jun 15, 2023

Closing - Stale.

@eddyv eddyv closed this Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants