Hey community, It seems Kafka Metadata update only happens at the pre-configured Metadata update interval. During upgrade, when leader changes, the client will fail with NotLeaderForPartitionException until next Metadata update happened. I wonder why we don't have the on-demand Metadata update (that is, have Metadata update when there is exception like NotLeaderForPartitionException)?
Thanks! Ming