epam / eco-kafka-manager

Apache License 2.0
31 stars 8 forks source link

Search only for one partition in case data filtered by key equals condition #72

Closed michael200kg closed 1 year ago

michael200kg commented 1 year ago

If we use key equals filter, we don't need to scan all partition to find given key. We just need to determine algorithm to calculate partition by key. This will give us ability to calculate this partition preliminary and assign only it to next seek operations.