You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixup: Use same strategy for updating cache partition metadata
as for the `rd_kafka_toppar_t` that is also
the same strategy as in Java client, considering:
- when topic id changes partitions metadata is taken
entirely from the new one.
- when leader epoch is greater or equal to the
one in the cache, or null (-1),
partition metadata is taken from the new one.
- when leader epoch is less than the one in the
cache, partition metadata remains the same.
Also when full metadata is necessary, the cache
is used for storing it and for matching topics
in the regex, removing the need to store
the full metadata result, that is about the same
size, but the cache is updated more accurately.
0 commit comments