class Kafka::NotLeaderForPartition

metadata is out of date.
that is not the leader for some partition. It indicates that the client’s
This error is thrown if the client attempts to send messages to a replica