Just want to share another variant of the log message which is also related to
metadata and rebalancing but has a different client reason:
INFO [GroupCoordinator 3]: Preparing to rebalance group in state
PreparingRebalance with old generation nnn (__consumer_offsets-nn) (reason:
Updating
Thanks very much for your important inputs, Matthias.
I will use the default METADATA_MAX_AGE_CONFIG. I set it to 5 hours when I saw
a lot of such rebalancing related messages in the MSK broker logs:
INFO [GroupCoordinator 2]: Preparing to rebalance group in state
PreparingRebalance with old